summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-11-16 18:16:33 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2020-11-16 22:19:07 +0100
commit2acc3c1bc8e98bc66b1badec42e9ea205b4fcdaa (patch)
tree24ff5b1d95c769c49827da05d1b66a514772d046 /net/ipv4
parentf782e2c300a717233b64697affda3ea7aac00b2b (diff)
downloadlinux-2acc3c1bc8e98bc66b1badec42e9ea205b4fcdaa.tar.bz2
selftests/bpf: Fix error return code in run_getsockopt_test()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 65b4414a05eb ("selftests/bpf: add sockopt test that exercises BPF_F_ALLOW_MULTI") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20201116101633.64627-1-wanghai38@huawei.com
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions