diff options
author | 2017-10-19 15:46:20 -0700 | |
---|---|---|
committer | 2017-10-22 02:11:32 +0100 | |
commit | 1739c26da72c4170c86c368c75133adbb740efef (patch) | |
tree | 7442f029db148ae80dcb1b04850a6107211189ea /net/unix/af_unix.c | |
parent | tools: bpftool: add pointer to file argument to print_hex() (diff) | |
download | wireguard-linux-1739c26da72c4170c86c368c75133adbb740efef.tar.xz wireguard-linux-1739c26da72c4170c86c368c75133adbb740efef.zip |
tools: bpftool: fix return value when all eBPF programs have been shown
Change the program to have a more consistent return code. Specifically,
do not make bpftool return an error code simply because it reaches the
end of the list of the eBPF programs to show.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions