diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2012-12-19 09:13:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-19 12:50:06 -0800 |
commit | 63233159fd4e596568f5f168ecb0879b61631d47 (patch) | |
tree | 4cfde7141cb81f573a575f6c870b1af2b7f41181 /net/bridge/br_netlink.c | |
parent | a5e40708c495e387a2351d5e89b0cf7f19175a57 (diff) | |
download | linux-stable-63233159fd4e596568f5f168ecb0879b61631d47.tar.gz linux-stable-63233159fd4e596568f5f168ecb0879b61631d47.tar.bz2 linux-stable-63233159fd4e596568f5f168ecb0879b61631d47.zip |
bridge: Do not unregister all PF_BRIDGE rtnl operations
Bridge fdb and link rtnl operations are registered in
core/rtnetlink. Bridge mdb operations are registred
in bridge/mdb. When removing bridge module, do not
unregister ALL PF_BRIDGE ops since that would remove
the ops from rtnetlink as well. Do remove mdb ops when
bridge is destroyed.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_netlink.c')
-rw-r--r-- | 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 dead9dfe865b..97ba0189c6f7 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); } |