aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2017-10-19 15:46:23 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-22 02:11:32 +0100
commitd9c0b48db9f4b870535b6d7255638347e770633f (patch)
treec373c28c054cc51a8778441e22d753a3fead5778 /net/unix/af_unix.c
parenttools: bpftool: add `bpftool prog help` as real command i.r.t exit code (diff)
downloadwireguard-linux-d9c0b48db9f4b870535b6d7255638347e770633f.tar.xz
wireguard-linux-d9c0b48db9f4b870535b6d7255638347e770633f.zip
tools: bpftool: print only one error message on byte parsing failure
Make error messages more consistent. Specifically, when bpftool fails at parsing map key bytes, make it print a single error message to stderr and return from the function, instead of (always) printing a second error message afterwards. 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