summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/pipapo_double_flush.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-12-01 15:49:18 +0100
committerFlorian Westphal <fw@strlen.de>2024-01-08 14:17:22 +0100
commit4ee6f7d8c676ca6cd96aabd8dd9b52d90f4127d5 (patch)
tree9576f740f8a456a2dfbea2c315adbd377f2f68dc /tests/shell/testcases/maps/dumps/pipapo_double_flush.nft
parenta852022d719e5a414df41a10c331f4492e9d3073 (diff)
tests: add a test case for double-flush bug in pipapo
Test for 'netfilter: nft_set_pipapo: skip inactive elements during set walk'. Reported-by: Xingyuan Mo <hdthky0@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/maps/dumps/pipapo_double_flush.nft')
-rw-r--r--tests/shell/testcases/maps/dumps/pipapo_double_flush.nft9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/dumps/pipapo_double_flush.nft b/tests/shell/testcases/maps/dumps/pipapo_double_flush.nft
new file mode 100644
index 00000000..cca569ea
--- /dev/null
+++ b/tests/shell/testcases/maps/dumps/pipapo_double_flush.nft
@@ -0,0 +1,9 @@
+table inet t {
+ map m {
+ type ipv4_addr . ipv4_addr : verdict
+ flags interval
+ }
+
+ chain c {
+ }
+}