From 6a5878a3748d84d95e15b9a8b018e1bfc54fc894 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu" Date: Sat, 15 Nov 2008 20:20:09 +0000 Subject: 2.4.5 - setlist type does not work properly together with swapping sets, bug reported by Thomas Jacob. - Include linux/capability.h explicitly in ip_set.c (Jan Engelhardt) --- kernel/ipt_SET.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/ipt_SET.c') diff --git a/kernel/ipt_SET.c b/kernel/ipt_SET.c index 960e557..a6cad1d 100644 --- a/kernel/ipt_SET.c +++ b/kernel/ipt_SET.c @@ -179,9 +179,9 @@ static void destroy(const struct xt_target *target, } #endif if (info->add_set.index != IP_SET_INVALID_ID) - ip_set_put(info->add_set.index); + ip_set_put_byindex(info->add_set.index); if (info->del_set.index != IP_SET_INVALID_ID) - ip_set_put(info->del_set.index); + ip_set_put_byindex(info->del_set.index); } #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17) -- cgit v1.2.3