From: Jiri Pirko Date: Sun, 13 Feb 2011 09:33:01 +0000 (+0000) Subject: bond: implement [add/del]_slave ops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9232ecca3ecd2e32140118c8fdabd7f8fb9ef4d5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bond: implement [add/del]_slave ops allow enslaving/releasing using netlink interface Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 9f877878d636..77e3c6a7176a 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -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)