summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-05-10 18:48:01 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-13 00:43:55 +0200
commit54ba5a0bbc739ae77a217d7340149e6f35934c4b (patch)
tree2b1509b2f41fbbedc602c53807a090b954a81c39 /drivers/net/bonding
parentswitchdev: add new switchdev_port_bridge_dellink (diff)
downloadlinux-54ba5a0bbc739ae77a217d7340149e6f35934c4b.tar.xz
linux-54ba5a0bbc739ae77a217d7340149e6f35934c4b.zip
switchdev: cut over to new switchdev_port_bridge_dellink
Rocker, bonding and team and switch over to the new switchdev_port_bridge_dellink to avoid duplicating code in each driver. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 6b1b5dd985f0..8459ca8fec50 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4040,7 +4040,7 @@ static const struct net_device_ops bond_netdev_ops = {
.ndo_del_slave = bond_release,
.ndo_fix_features = bond_fix_features,
.ndo_bridge_setlink = switchdev_port_bridge_setlink,
- .ndo_bridge_dellink = ndo_dflt_switchdev_port_bridge_dellink,
+ .ndo_bridge_dellink = switchdev_port_bridge_dellink,
.ndo_features_check = passthru_features_check,
};