summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-05-10 09:47:57 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-12 18:43:54 -0400
commitfc8f40d8644f15f0fd5fbc49012802a00f36ad55 (patch)
treed7f64fe0a3fff97298fc0b6feda086b41b6f8d7a /drivers/net/bonding
parent47f8328bb1a4115413e35b9b20d04b061ed544f8 (diff)
downloadblackbird-obmc-linux-fc8f40d8644f15f0fd5fbc49012802a00f36ad55.tar.gz
blackbird-obmc-linux-fc8f40d8644f15f0fd5fbc49012802a00f36ad55.zip
switchdev: cut over to new switchdev_port_bridge_setlink
Rocker, bonding, and team can now use the switchdev bridge setlink to parse raw netlink; no need to duplicate this 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 a475a0389cc7..6b1b5dd985f0 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4039,7 +4039,7 @@ static const struct net_device_ops bond_netdev_ops = {
.ndo_add_slave = bond_enslave,
.ndo_del_slave = bond_release,
.ndo_fix_features = bond_fix_features,
- .ndo_bridge_setlink = ndo_dflt_switchdev_port_bridge_setlink,
+ .ndo_bridge_setlink = switchdev_port_bridge_setlink,
.ndo_bridge_dellink = ndo_dflt_switchdev_port_bridge_dellink,
.ndo_features_check = passthru_features_check,
};
OpenPOWER on IntegriCloud