diff options
author | Jiri Pirko <jpirko@redhat.com> | 2011-02-13 04:33:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-13 19:58:40 -0500 |
commit | 9232ecca3ecd2e32140118c8fdabd7f8fb9ef4d5 (patch) | |
tree | 083caf3744bb7cd6505d1561b770fdca764dbe68 /drivers/net/bonding | |
parent | fbaec0ea54f7d9131891ff98744e82c073ce03b1 (diff) |
bond: implement [add/del]_slave ops
allow enslaving/releasing using netlink interface
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
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, 2 insertions, 0 deletions
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 = { | |||
4657 | .ndo_netpoll_cleanup = bond_netpoll_cleanup, | 4657 | .ndo_netpoll_cleanup = bond_netpoll_cleanup, |
4658 | .ndo_poll_controller = bond_poll_controller, | 4658 | .ndo_poll_controller = bond_poll_controller, |
4659 | #endif | 4659 | #endif |
4660 | .ndo_add_slave = bond_enslave, | ||
4661 | .ndo_del_slave = bond_release, | ||
4660 | }; | 4662 | }; |
4661 | 4663 | ||
4662 | static void bond_destructor(struct net_device *bond_dev) | 4664 | static void bond_destructor(struct net_device *bond_dev) |