]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfe9e420defabd0f3b13239dd135d261fbeeb67ae
treee4a31834e1cfd5e59ce85e732ebc540b83eb70b9
parent399a14ec7993d605740de7b2cd5c0ce8407d12ed
selftests: netfilter: add test case for nf trace infrastructure

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