Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4657,6 +4657,8 @@ static const struct net_device_ops bond_netdev_ops = {
	.ndo_netpoll_cleanup	= bond_netpoll_cleanup,
	.ndo_poll_controller	= bond_poll_controller,
#endif
	.ndo_add_slave		= bond_enslave,
	.ndo_del_slave		= bond_release,
};

static void bond_destructor(struct net_device *bond_dev)