summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/netdev_egress.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:20 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:46 +0200
commit7359704b708b34bb0604e676d0945063d5e57800 (patch)
tree829becb15391b85a4391dd801aa068fc900a8a4d /tests/shell/features/netdev_egress.nft
parent885845468408a816839e85f5533e236ff796d45e (diff)
tests/shell: skip some tests if kernel lacks netdev egress support
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/netdev_egress.nft')
-rw-r--r--tests/shell/features/netdev_egress.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/netdev_egress.nft b/tests/shell/features/netdev_egress.nft
new file mode 100644
index 00000000..67d706d8
--- /dev/null
+++ b/tests/shell/features/netdev_egress.nft
@@ -0,0 +1,7 @@
+# 42df6e1d221d ("netfilter: Introduce egress hook")
+# v5.16-rc1~159^2~167^2~10
+table netdev t {
+ chain c {
+ type filter hook egress devices = { lo } priority 0; policy accept;
+ }
+}