diff options
| author | Maciej Fijalkowski <[email protected]> | 2020-02-05 04:58:33 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-02-05 21:06:09 +0000 |
| commit | 32c92c15ad3dca6f7cca8643766ad79fa3ab3d17 (patch) | |
| tree | 5764c11370772c61c755b754279b83bdbc663728 /tools/bpf/bpftool/prog.c | |
| parent | i40e: Relax i40e_xsk_wakeup's return value when PF is busy (diff) | |
| download | kernel-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
