summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/netdev_chain_without_device.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/features/netdev_chain_without_device.nft')
-rw-r--r--tests/shell/features/netdev_chain_without_device.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/netdev_chain_without_device.nft b/tests/shell/features/netdev_chain_without_device.nft
new file mode 100644
index 00000000..25eb200f
--- /dev/null
+++ b/tests/shell/features/netdev_chain_without_device.nft
@@ -0,0 +1,7 @@
+# 207296f1a03b ("netfilter: nf_tables: allow to create netdev chain without device")
+# v6.4-rc1~132^2~14^2
+table netdev t {
+ chain c {
+ type filter hook ingress priority 0; policy accept;
+ }
+}