]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: netfilter: add test case for nf trace infrastructure
authorFlorian Westphal <fw@strlen.de>
Thu, 4 Aug 2022 17:26:28 +0000 (19:26 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Aug 2022 01:50:15 +0000 (18:50 -0700)
commit34879e45ff2157ead5701e75f6846278a89d1ab6
treee4a31834e1cfd5e59ce85e732ebc540b83eb70b9
parent4c26c34dda5cbfe16921e72207c2fab5b2c301b1
selftests: netfilter: add test case for nf trace infrastructure

Enable/disable tracing infrastructure while packets are in-flight.
This triggers KASAN splat after
7a71b8c6e1bb ("netfilter: nf_tables: avoid skb access on nf_stolen").

While at it, reduce script run time as well.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/netfilter/nft_trans_stress.sh