Netdev List
 help / color / mirror / Atom feed
* [PATCH] bridge:  Do not unregister PF_BRIDGE rtnl operations
@ 2012-12-18 21:43 Vlad Yasevich
  0 siblings, 0 replies; only message in thread
From: Vlad Yasevich @ 2012-12-18 21:43 UTC (permalink / raw)
  To: netdev; +Cc: davem, shemminger

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(-)

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);
 }
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-18 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 21:43 [PATCH] bridge: Do not unregister PF_BRIDGE rtnl operations Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox