]> www.infradead.org Git - users/hch/misc.git/commit
selftests: net: test for lwtunnel dst ref loops
authorJustin Iurman <justin.iurman@uliege.be>
Fri, 14 Mar 2025 12:00:48 +0000 (13:00 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Mar 2025 10:25:52 +0000 (11:25 +0100)
commit3ed61b8938c66680e13a1d1929afb9b145c26a86
tree601a74870b5582f60ed6cb23a7980fa33facb172
parent3e7a60b368eadf6c30a4a79dea1eb8f88b6d620d
selftests: net: test for lwtunnel dst ref loops

As recently specified by commit 0ea09cbf8350 ("docs: netdev: add a note
on selftest posting") in net-next, the selftest is therefore shipped in
this series. However, this selftest does not really test this series. It
needs this series to avoid crashing the kernel. What it really tests,
thanks to kmemleak, is what was fixed by the following commits:
- commit c71a192976de ("net: ipv6: fix dst refleaks in rpl, seg6 and
ioam6 lwtunnels")
- commit 92191dd10730 ("net: ipv6: fix dst ref loops in rpl, seg6 and
ioam6 lwtunnels")
- commit c64a0727f9b1 ("net: ipv6: fix dst ref loop on input in seg6
lwt")
- commit 13e55fbaec17 ("net: ipv6: fix dst ref loop on input in rpl
lwt")
- commit 0e7633d7b95b ("net: ipv6: fix dst ref loop in ila lwtunnel")
- commit 5da15a9c11c1 ("net: ipv6: fix missing dst ref drop in ila
lwtunnel")

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Link: https://patch.msgid.link/20250314120048.12569-4-justin.iurman@uliege.be
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/lwt_dst_cache_ref_loop.sh [new file with mode: 0755]