summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-05-10 09:48:01 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-12 18:43:55 -0400
commit54ba5a0bbc739ae77a217d7340149e6f35934c4b (patch)
tree2b1509b2f41fbbedc602c53807a090b954a81c39 /drivers/net/bonding/bond_main.c
parent5c34e0221423aeabc0b085adc5fccda3f91e2c49 (diff)
downloadlinux-54ba5a0bbc739ae77a217d7340149e6f35934c4b.tar.gz
linux-54ba5a0bbc739ae77a217d7340149e6f35934c4b.tar.bz2
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/bond_main.c')
-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,
};