]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove ndo_neigh_{construct, destroy} from stacked devices
authorIdo Schimmel <idosch@mellanox.com>
Mon, 6 Feb 2017 15:20:14 +0000 (16:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 16:25:57 +0000 (11:25 -0500)
commit84d950b28a96c15ccdc14e5815c6007515a81fba
tree78be26268b991ac647680cde9c968d924f912dbd
parent6fbbfeb59ffb20d9ccae402af0e36f8265457754
net: remove ndo_neigh_{construct, destroy} from stacked devices

In commit cba04c45f294 ("net: introduce default neigh_construct/destroy
ndo calls for L2 upper devices") we added these ndos to stacked devices
such as team and bond, so that calls will be propagated to mlxsw.

However, previous commit removed the reliance on these ndos and no new
users of these ndos have appeared since above mentioned commit. We can
therefore safely remove this dead code.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/team/team.c
include/linux/netdevice.h
net/8021q/vlan_dev.c
net/bridge/br_device.c
net/core/dev.c