android_kernel_sony_sdm845/tools/testing/selftests/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wang Yufen 2b67ed2991 selftests: Fix the if conditions of in test_extra_filter()
[ Upstream commit bc7a319844891746135dc1f34ab9df78d636a3ac ]

The socket 2 bind the addr in use, bind should fail with EADDRINUSE. So
if bind success or errno != EADDRINUSE, testcase should be failed.

Fixes: 3ca8e40299 ("soreuseport: BPF selection functional test")
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1663916557-10730-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:15:33 +02: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
reuseport_bpf.c selftests: Fix the if conditions of in test_extra_filter() 2022-10-26 13:15:33 +02: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