diff options
| author | Florian Westphal <fw@strlen.de> | 2024-07-10 02:33:37 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2024-07-11 17:05:32 +0200 |
| commit | 1fc78397e9a1fb5e41841b8b4e92a9eb9536c6f1 (patch) | |
| tree | 0a42c261dec9a533cefa80b1bd48098313fa35f2 /tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft | |
| parent | eddd1c779c712e2103dfb5d201faf1c956d3734a (diff) | |
tests: shell: connect chains to hook point
These tests should fail because they contain a loop or exceed the jump stack.
But this depends on the kernel validating chains that are not bound to any
basechain/hook point.
Wire up the initial chain to filter type.
Without this tests will start to fail when kernel stops validating
chains that are not reachable by any base chain.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft')
| -rw-r--r-- | tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft b/tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft index 437900bc..bdd0ead7 100644 --- a/tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft +++ b/tests/shell/testcases/chains/dumps/0018check_jump_loop_1.nft @@ -1,5 +1,6 @@ table ip filter { chain ap1 { + type filter hook input priority filter; policy accept; jump ap2 } |
