summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/inet_ingress.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:21 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:47 +0200
commit362039ad507b6bc5b9a0a2c4b6eb9e8911563e04 (patch)
tree05e02ead3ec882f1810a302364876d3ffb159ce5 /tests/shell/features/inet_ingress.nft
parent7359704b708b34bb0604e676d0945063d5e57800 (diff)
tests/shell: skip inet ingress tests if kernel lacks support
Split the bridge autoremove test to a new file. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/inet_ingress.nft')
-rw-r--r--tests/shell/features/inet_ingress.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/inet_ingress.nft b/tests/shell/features/inet_ingress.nft
new file mode 100644
index 00000000..944a5c77
--- /dev/null
+++ b/tests/shell/features/inet_ingress.nft
@@ -0,0 +1,7 @@
+# d3519cb89f6d ("netfilter: nf_tables: add inet ingress support")
+# v5.10-rc1~107^2~17^2~1
+table inet t {
+ chain c {
+ type filter hook ingress device "lo" priority filter; policy accept;
+ }
+}