summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/vmap_timeout.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-08-15 18:27:42 +0200
committerFlorian Westphal <fw@strlen.de>2023-08-15 18:27:42 +0200
commit02d660b060abccaec665b0bd8a835037a5704f1a (patch)
tree2c7ea8e016dc32f06302d81ce021f46c0de7e1d0 /tests/shell/testcases/maps/dumps/vmap_timeout.nft
parentb8c26c8fecbbe563d6f57baac47bbd7c5dbec278 (diff)
tests: add one more chain jump in vmap test
This triggers a splat on kernels that lack 314c82841602 ("netfilter: nf_tables: can't schedule in nft_chain_validate"). There is another test case that triggers this splat (optimize/ruleset), but that test uses some more advanced features that don't exist on older kernels, so the splat is never seen. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/maps/dumps/vmap_timeout.nft')
-rw-r--r--tests/shell/testcases/maps/dumps/vmap_timeout.nft5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/dumps/vmap_timeout.nft b/tests/shell/testcases/maps/dumps/vmap_timeout.nft
index 7bbad87c..295971ab 100644
--- a/tests/shell/testcases/maps/dumps/vmap_timeout.nft
+++ b/tests/shell/testcases/maps/dumps/vmap_timeout.nft
@@ -14,7 +14,12 @@ table inet filter {
chain ssh_input {
}
+ chain log_and_drop {
+ drop
+ }
+
chain other_input {
+ goto log_and_drop
}
chain wan_input {