]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: netfilter: nft_zones_many.sh: set ct sysctl after ruleset load
authorFlorian Westphal <fw@strlen.de>
Mon, 22 Apr 2024 10:25:42 +0000 (12:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Apr 2024 00:15:04 +0000 (17:15 -0700)
commit8e2b318a65c30626d49d3bf1940037afb386e596
tree0115c3bee91936b2bef7e40ef079979ee6d626dc
parentf03c528e323b640230b4dac023a52f39836ddb8d
selftests: netfilter: nft_zones_many.sh: set ct sysctl after ruleset load

nf_conntrack_udp_timeout sysctl only exist once conntrack module is loaded,
if this test runs standalone on a modular kernel sysctl setting fails,
this can result in test failure as udp conntrack entries expire too fast.

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240422102546.2494-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/netfilter/nft_zones_many.sh