summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ip_set_core.c')
-rw-r--r--kernel/ip_set_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/ip_set_core.c b/kernel/ip_set_core.c
index 21cfc0f..4634fd6 100644
--- a/kernel/ip_set_core.c
+++ b/kernel/ip_set_core.c
@@ -825,10 +825,6 @@ ip_set_swap(struct sock *ctnl, struct sk_buff *skb,
ip_set_list[from_id] = to;
ip_set_list[to_id] = from;
- /* Avoid possible race between ongoing slow add/del in kernel space
- * and next destroy command. */
- synchronize_net();
-
return 0;
}