linux-uconsole/tools/testing/selftests/net
Florian Westphal 107726ad04 selftests: rtnetlink: add addresses with fixed life time
[ Upstream commit 3cfa148826 ]

This exercises kernel code path that deal with addresses that have
a limited lifetime.

Without previous fix, this triggers following crash on net-next:
 BUG: KASAN: null-ptr-deref in check_lifetime+0x403/0x670
 Read of size 8 at addr 0000000000000010 by task kworker [..]

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-09 10:19:08 +01:00
..
forwarding selftests: forwarding: Delete IPv6 address at the end 2019-12-31 16:34:40 +01:00
.gitignore selftests/net: add tls to .gitignore 2018-07-26 09:37:21 -07:00
config selftests: net: add config fragments 2018-06-21 09:47:25 +09:00
fib-onlink-tests.sh net/ipv6: Allow onlink routes to have a device mismatch if it is the default route 2018-11-04 14:50:52 +01:00
fib_rule_tests.sh selftests: fib_rule_tests: use pre-defined DEV_ADDR 2019-09-16 08:21:42 +02:00
fib_tests.sh selftests: fib_tests: add more tests for metric update 2019-11-10 11:27:50 +01:00
in_netns.sh selftests/net: fix in_netns.sh script 2018-03-07 12:26:05 -05:00
ip6_gre_headroom.sh selftests: net: Test headroom handling of ip6_gre devices 2018-06-26 23:03:01 +09:00
Makefile selftests: net: use LDLIBS instead of LDFLAGS 2019-03-13 14:02:29 -07:00
msg_zerocopy.c selftests/net: reap zerocopy completions passed up as ancillary data. 2018-02-27 14:19:11 -05:00
msg_zerocopy.sh selftests/net: enable msg_zerocopy test 2018-06-04 09:49:39 -04:00
netdevice.sh selftests: net: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00
pmtu.sh selftests: pmtu: properly redirect stderr to /dev/null 2018-09-18 19:53:58 -07:00
psock_fanout.c selftests/net: ignore background traffic in psock_fanout 2018-02-23 12:47:05 -05:00
psock_lib.h
psock_snd.c selftests/net: add packet socket packet_snd test 2018-06-04 09:50:01 -04:00
psock_snd.sh selftests/net: add packet socket packet_snd test 2018-06-04 09:50:01 -04:00
psock_tpacket.c selftests: net: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00
reuseaddr_conflict.c selftest: add a reuseaddr test 2017-09-19 14:09:26 -06:00
reuseport_bpf.c bpf: do not blindly change rlimit in reuseport net selftest 2018-10-08 10:30:55 +02:00
reuseport_bpf_cpu.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reuseport_bpf_numa.c selftests: net: reuseport_bpf_numa: don't fail if no numa support 2018-05-23 12:21:02 +02:00
reuseport_dualstack.c selftests: net: reuseport_dualstack: fix uninitalized parameter 2019-11-10 11:27:45 +01:00
rtnetlink.sh selftests: rtnetlink: add addresses with fixed life time 2020-01-09 10:19:08 +01:00
run_afpackettests selftests/net: ignore background traffic in psock_fanout 2018-02-23 12:47:05 -05:00
run_netsocktests selftests/net: correct the return value for run_netsocktests 2019-05-16 19:41:24 +02:00
socket.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tcp_inq.c selftest: add test for TCP_INQ 2018-05-01 18:56:29 -04:00
tcp_mmap.c selftest/net: fix protocol family to work for IPv4. 2018-08-02 10:30:12 -07:00
test_bpf.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tls.c selftests/tls: Fix recv(MSG_PEEK) & splice() test cases 2019-11-24 08:19:37 +01:00
udpgso.c udp: only do GSO if # of segs > 1 2019-10-07 18:57:24 +02:00
udpgso.sh selftests: udp gso with corking 2018-04-26 15:09:52 -04:00
udpgso_bench.sh selftests: udpgso_bench.sh explicitly requires bash 2018-10-11 10:19:46 -07:00
udpgso_bench_rx.c selftests: udp gso benchmark 2018-04-26 15:09:52 -04:00
udpgso_bench_tx.c selftests: udp gso benchmark 2018-04-26 15:09:52 -04:00