search for: br_call_ioctl_atomic

Displaying 1 result from an estimated 1 matches for "br_call_ioctl_atomic".

2007 Apr 18
1
[Bridge] [PATCH 2.4] bridge - eliminate br_ioctl_mutex
...linux/rtnetlink.h> #include <asm/uaccess.h> #include "br_private.h" @@ -54,15 +55,13 @@ return 0; } -static void __br_clear_ioctl_hook(void) -{ - br_ioctl_hook = NULL; -} - static void __exit br_deinit(void) { unregister_netdevice_notifier(&br_device_notifier); - br_call_ioctl_atomic(__br_clear_ioctl_hook); + + rtnl_lock(); + br_ioctl_hook = NULL; + rtnl_unlock(); br_write_lock_bh(BR_NETPROTO_LOCK); br_handle_frame_hook = NULL; diff -Nru a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c --- a/net/bridge/br_ioctl.c 2004-06-21 07:46:49 -07:00 +++ b/net/bridge/br_ioctl.c 2004-...