summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-04 21:14:31 +0100
committerPatrick McHardy <kaber@trash.net>2009-11-04 21:14:31 +0100
commit9481721be10a1bfd1ee9ccf507eecd7f37caa5ec (patch)
tree94f6cf30c770c5f2f98b71578bb50bb07153084a /net/ipv6
parentnetfilter: xt_socket: make module available for INPUT chain (diff)
downloadlinux-9481721be10a1bfd1ee9ccf507eecd7f37caa5ec.tar.xz
linux-9481721be10a1bfd1ee9ccf507eecd7f37caa5ec.zip
netfilter: remove synchronize_net() calls in ip_queue/ip6_queue
nf_unregister_queue_handlers() already does a synchronize_rcu() call, we dont need to do it again in callers. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/ip6_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c
index 1cf3f0c6a959..a82016fd5d65 100644
--- a/net/ipv6/netfilter/ip6_queue.c
+++ b/net/ipv6/netfilter/ip6_queue.c
@@ -625,7 +625,7 @@ cleanup_netlink_notifier:
static void __exit ip6_queue_fini(void)
{
nf_unregister_queue_handlers(&nfqh);
- synchronize_net();
+
ipq_flush(NULL, 0);
#ifdef CONFIG_SYSCTL