Commit 9232ecca authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

bond: implement [add/del]_slave ops

allow enslaving/releasing using netlink interface
Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fbaec0ea
...@@ -4657,6 +4657,8 @@ static const struct net_device_ops bond_netdev_ops = { ...@@ -4657,6 +4657,8 @@ static const struct net_device_ops bond_netdev_ops = {
.ndo_netpoll_cleanup = bond_netpoll_cleanup, .ndo_netpoll_cleanup = bond_netpoll_cleanup,
.ndo_poll_controller = bond_poll_controller, .ndo_poll_controller = bond_poll_controller,
#endif #endif
.ndo_add_slave = bond_enslave,
.ndo_del_slave = bond_release,
}; };
static void bond_destructor(struct net_device *bond_dev) static void bond_destructor(struct net_device *bond_dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment