Re: [PATCH bpf] selftests/bpf: fix error return code in run_getsockopt_test()

2020-11-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Mon, 16 Nov 2020 18:16:33 +0800 you wrote: > 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 ex

[PATCH bpf] selftests/bpf: fix error return code in run_getsockopt_test()

2020-11-16 Thread Wang Hai
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 Signed-off-by: Wang Hai --- tools/testing/selftests/bpf/prog_tests