From 2cb7b6213559838fee4b22aac1d31473b051c920 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 4 Apr 2003 01:30:47 -0800 Subject: [PATCH] [IPV6]: ipv6 can use synchronize_net. --- net/ipv6/netfilter/ip6_queue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c index 72d2e0c08dfc6..ca89a9e7f1180 100644 --- a/net/ipv6/netfilter/ip6_queue.c +++ b/net/ipv6/netfilter/ip6_queue.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -682,8 +681,7 @@ init_or_cleanup(int init) cleanup: nf_unregister_queue_handler(PF_INET6); - br_write_lock_bh(BR_NETPROTO_LOCK); - br_write_unlock_bh(BR_NETPROTO_LOCK); + synchronize_net(); ipq_flush(NF_DROP); cleanup_sysctl: -- 2.53.0