]> git.neil.brown.name Git - history.git/commitdiff
[IPV6]: ipv6 can use synchronize_net.
authorStephen Hemminger <shemminger@osdl.org>
Fri, 4 Apr 2003 09:30:47 +0000 (01:30 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Fri, 4 Apr 2003 09:30:47 +0000 (01:30 -0800)
net/ipv6/netfilter/ip6_queue.c

index 72d2e0c08dfc6aa63de108d3c9301ccfff077423..ca89a9e7f11802e80cbbabbed8c29b13c1bd5219 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/netfilter.h>
 #include <linux/netlink.h>
 #include <linux/spinlock.h>
-#include <linux/brlock.h>
 #include <linux/sysctl.h>
 #include <linux/proc_fs.h>
 #include <net/sock.h>
@@ -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: