summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/chain_binding.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:15 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:25 +0200
commitbc4f67e0bc08da4008a72ed5196b2638c513df15 (patch)
treec561e0df807474633a29fe876de17e8d1d89e16d /tests/shell/features/chain_binding.nft
parent9b100024a45996bae00f858a812ed8f4c9c37a6e (diff)
tests/shell: add and use chain binding feature probe
Alter 30s-stress to suppress anon chains when its unuspported. Note that 30s-stress is optionally be run standalone, so also update the test script. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/chain_binding.nft')
-rw-r--r--tests/shell/features/chain_binding.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/chain_binding.nft b/tests/shell/features/chain_binding.nft
new file mode 100644
index 00000000..b381ec54
--- /dev/null
+++ b/tests/shell/features/chain_binding.nft
@@ -0,0 +1,7 @@
+# d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
+# v5.9-rc1~133^2~302^2~1
+table ip t {
+ chain c {
+ jump { counter; }
+ }
+}