]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/bridge/br_netlink.c
net: add generic PF_BRIDGE:RTM_ FDB hooks
[mirror_ubuntu-artful-kernel.git] / net / bridge / br_netlink.c
index df38108f69734188ce7bd260ea3704f3208c5950..2080485515f1be56299f01a92b5c98e034636dde 100644 (file)
@@ -232,18 +232,6 @@ int __init br_netlink_init(void)
                              br_rtm_setlink, NULL, NULL);
        if (err)
                goto err3;
-       err = __rtnl_register(PF_BRIDGE, RTM_NEWNEIGH,
-                             br_fdb_add, NULL, NULL);
-       if (err)
-               goto err3;
-       err = __rtnl_register(PF_BRIDGE, RTM_DELNEIGH,
-                             br_fdb_delete, NULL, NULL);
-       if (err)
-               goto err3;
-       err = __rtnl_register(PF_BRIDGE, RTM_GETNEIGH,
-                             NULL, br_fdb_dump, NULL);
-       if (err)
-               goto err3;
 
        return 0;