summaryrefslogtreecommitdiffstats
path: root/kernel/ipt_SET.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ipt_SET.c')
-rw-r--r--kernel/ipt_SET.c4
1 files changed, 2 insertions, 2 deletions
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)