bridge: Do not unregister PF_BRIDGE rtnl operations

Submitted by Vlad Yasevich on Dec. 18, 2012, 9:43 p.m.

Details

Message ID 1355867024-12165-1-git-send-email-vyasevic@redhat.com
State Superseded
Delegated to: David Miller
Headers show

Commit Message

Vlad Yasevich Dec. 18, 2012, 9:43 p.m.
Now that bridge rtnl ops are in core, do not undergister
all PF_BRIDGE ops when bridge module is unloaded.  It makes
it so that after reload, none of the messages work.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
---
 net/bridge/br_netlink.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index dead9df..97ba018 100644
--- a/net/bridge/br_netlink.c
+++ b/net/bridge/br_netlink.c
@@ -305,5 +305,4 @@  int __init br_netlink_init(void)
 void __exit br_netlink_fini(void)
 {
 	rtnl_link_unregister(&br_link_ops);
-	rtnl_unregister_all(PF_BRIDGE);
 }