aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2020-02-05 04:58:33 +0000
committerDaniel Borkmann <[email protected]>2020-02-05 21:06:09 +0000
commit32c92c15ad3dca6f7cca8643766ad79fa3ab3d17 (patch)
tree5764c11370772c61c755b754279b83bdbc663728 /tools/bpf/bpftool/prog.c
parenti40e: Relax i40e_xsk_wakeup's return value when PF is busy (diff)
downloadkernel-32c92c15ad3dca6f7cca8643766ad79fa3ab3d17.tar.gz
kernel-32c92c15ad3dca6f7cca8643766ad79fa3ab3d17.zip
samples: bpf: Drop doubled variable declaration in xdpsock
Seems that by accident there is a doubled declaration of global variable opt_xdp_bind_flags in xdpsock_user.c. The second one is uninitialized so compiler was simply ignoring it. To keep things clean, drop the doubled variable. Fixes: c543f5469822 ("samples/bpf: add unaligned chunks mode support to xdpsock") Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Björn Töpel <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions