bridge: Do not unregister all PF_BRIDGE rtnl operations
commit63233159fd4e596568f5f168ecb0879b61631d47
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 19 Dec 2012 09:13:48 +0000 (19 09:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 20:50:06 +0000 (19 12:50 -0800)
tree4cfde7141cb81f573a575f6c870b1af2b7f41181
parenta5e40708c495e387a2351d5e89b0cf7f19175a57
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>
net/bridge/br_mdb.c
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h