From 4ee6f7d8c676ca6cd96aabd8dd9b52d90f4127d5 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 1 Dec 2023 15:49:18 +0100 Subject: 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 Signed-off-by: Florian Westphal --- tests/shell/testcases/maps/dumps/pipapo_double_flush.nft | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/shell/testcases/maps/dumps/pipapo_double_flush.nft (limited to 'tests/shell/testcases/maps/dumps/pipapo_double_flush.nft') 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 { + } +} -- cgit v1.2.3