Workaround for uninitialized union clang bug
* Clang does not generate code to initialize the entire union when
initializing a nested struct. This is the case for union bpf_attr.
As a workaround, call memset explicitly.
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
Showing
Please register or sign in to comment