Re: [PATCH net-next v3 04/11] bpf: Use bpf_load_program() from the library
From: Alexei Starovoitov
Date: Tue Feb 07 2017 - 19:19:42 EST
On 2/7/17 1:44 PM, MickaÃl SalaÃn wrote:
- union bpf_attr attr;
+ union bpf_attr attr = {};
- bzero(&attr, sizeof(attr));
I think somebody mentioned that there are compilers out there
that don't do it correctly, hence it was done with explicit bzero.
Arnaldo, Wang, do you remember the details?