android_kernel_sony_sdm845/tools/testing/selftests/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wei Wang 43562e5296 selftests: net: reuseport_dualstack: fix uninitalized parameter
[ Upstream commit d64479a3e3f9924074ca7b50bd72fa5211dca9c1 ]

This test reports EINVAL for getsockopt(SOL_SOCKET, SO_DOMAIN)
occasionally due to the uninitialized length parameter.
Initialize it to fix this, and also use int for "test_family" to comply
with the API standard.

Fixes: d6a61f80b8 ("soreuseport: test mixed v4/v6 sockets")
Reported-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Wei Wang <weiwan@google.com>
Cc: Craig Gallek <cgallek@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-10 11:23:25 +01:00
..
.gitignore soreuseport: test mixed v4/v6 sockets 2016-04-14 21:14:04 -04:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
Makefile soreuseport: test mixed v4/v6 sockets 2016-04-14 21:14:04 -04:00
psock_fanout.c selftests/net: fixes psock_fanout eBPF test case 2018-05-30 07:50:50 +02:00
psock_lib.h selftests/net: test classic bpf fanout mode 2015-08-17 14:22:48 -07:00
psock_tpacket.c tools: selftests: psock_tpacket: get rid of macro wrappers 2013-07-02 00:23:57 -07:00
reuseport_bpf.c bpf: do not blindly change rlimit in reuseport net selftest 2018-11-13 11:16:47 -08:00
reuseport_bpf_cpu.c soreuseport: BPF selection functional test for TCP 2016-02-11 03:54:15 -05:00
reuseport_dualstack.c selftests: net: reuseport_dualstack: fix uninitalized parameter 2019-11-10 11:23:25 +01:00
run_afpackettests selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
run_netsocktests selftests/net: correct the return value for run_netsocktests 2019-05-16 19:43:43 +02:00
socket.c
test_bpf.sh selftests/net: move test out of Makefile into a shell script 2014-11-05 08:12:40 -07:00