diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-05-10 18:47:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-13 00:43:54 +0200 |
commit | fc8f40d8644f15f0fd5fbc49012802a00f36ad55 (patch) | |
tree | d7f64fe0a3fff97298fc0b6feda086b41b6f8d7a /drivers/net/bonding | |
parent | switchdev: add new switchdev bridge setlink (diff) | |
download | linux-fc8f40d8644f15f0fd5fbc49012802a00f36ad55.tar.xz 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.c | 2 |
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, }; |