From 46fb717308d9d717439badd48c150e32a3508a90 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu" Date: Thu, 23 Oct 2008 17:24:30 +0000 Subject: ipset 2.4.2: - When flushing a nethash/ipportnethash type of set, it can lead to a kernel crash due to a wrong type declaration, bug reported by Krzysztof Oledzki. - iptree and iptreemap types require the header file linux/timer.h, also reported by Krzysztof Oledzki. --- tests/iptree.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/iptree.t') diff --git a/tests/iptree.t b/tests/iptree.t index 0e661ce..746baed 100644 --- a/tests/iptree.t +++ b/tests/iptree.t @@ -12,7 +12,9 @@ 1 ipset -T test 2.0.0.2 # Static: Test value not added to the set 1 ipset -T test 192.168.68.70 -# Static: Delete test test +# Static: Flush test set +0 ipset -F test +# Static: Delete test set 0 ipset -X test # Timeout: Create a set with a timeout parameter 0 ipset -N test iptree --timeout 5 @@ -46,6 +48,8 @@ 0 sleep 4 # Timeout: Test entry added with 3s timeout 1 ipset -T test 2.0.0.2 +# Timeout: Flush test set +0 ipset -F test # Timeout: Delete test set 0 ipset -X test # eof -- cgit v1.2.1