Re: [PATCH bpf-next] libbpf: Fix unneeded extra initialization in bpf_map_batch_common

Daniel Borkmann
2020-01-16T14:33:32Z

On 1/16/20 5:59 AM, Brian Vazquez wrote:
> bpf_attr doesn't required to be declared with '= {}' as memset is used
> in the code.
>
> Fixes: 2ab3d86ea1859 ("libbpf: Add libbpf support to batch ops")
> Reported-by: Andrii Nakryiko <andriin@fb.com>
> Signed-off-by: Brian Vazquez <brianvv@google.com>

Applied, thanks!