* [PATCH nft] tests: shell: skip flowtable-uaf if we lack table owner support
@ 2023-09-22 9:54 Florian Westphal
0 siblings, 0 replies; only message in thread
From: Florian Westphal @ 2023-09-22 9:54 UTC (permalink / raw)
To: netfilter-devel; +Cc: Florian Westphal
Signed-off-by: Florian Westphal <fw@strlen.de>
---
tests/shell/features/table_flag_owner.nft | 5 +++++
tests/shell/testcases/owner/0001-flowtable-uaf | 2 ++
2 files changed, 7 insertions(+)
create mode 100644 tests/shell/features/table_flag_owner.nft
diff --git a/tests/shell/features/table_flag_owner.nft b/tests/shell/features/table_flag_owner.nft
new file mode 100644
index 000000000000..6e6f608a7e94
--- /dev/null
+++ b/tests/shell/features/table_flag_owner.nft
@@ -0,0 +1,5 @@
+# 6001a930ce03 ("netfilter: nftables: introduce table ownership")
+# v5.12-rc1~200^2~6^2
+table t {
+ flag owner;
+}
diff --git a/tests/shell/testcases/owner/0001-flowtable-uaf b/tests/shell/testcases/owner/0001-flowtable-uaf
index 8b7a551cc69e..c07e8d6a0ab9 100755
--- a/tests/shell/testcases/owner/0001-flowtable-uaf
+++ b/tests/shell/testcases/owner/0001-flowtable-uaf
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_table_flag_owner)
+
set -e
$NFT -f - <<EOF
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-22 9:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 9:54 [PATCH nft] tests: shell: skip flowtable-uaf if we lack table owner support Florian Westphal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).