]> 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)
commit2f6aaa01738f6ff8a0840a16b3153c66ae9457f8
treee4a31834e1cfd5e59ce85e732ebc540b83eb70b9
parentb3d21e82b29a8b16168cd9b057aa3c12047aeea8
selftests: netfilter: add test case for nf trace infrastructure

Enable/disable tracing infrastructure while packets are in-flight.
This triggers KASAN splat after
5e9f0ad1ea29 ("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