diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-10-18 17:43:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-20 00:58:45 +0200 |
commit | d9e32b21cb394c0816f206539b8c7e9c023db332 (patch) | |
tree | d10a61946abe4dd4a4a60edd84e0e301def0cab9 /drivers/net/bonding/bonding.h | |
parent | bonding: move mode setting into separate function (diff) | |
download | linux-d9e32b21cb394c0816f206539b8c7e9c023db332.tar.xz linux-d9e32b21cb394c0816f206539b8c7e9c023db332.zip |
bonding: move active_slave setting into separate function
Do a bit of refactoring on the way.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 7446849a20c4..686759dce4c6 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -427,6 +427,7 @@ unsigned int bond_get_num_tx_queues(void); int bond_netlink_init(void); void bond_netlink_fini(void); int bond_option_mode_set(struct bonding *bond, int mode); +int bond_option_active_slave_set(struct bonding *bond, struct net_device *slave_dev); struct bond_net { struct net * net; /* Associated network namespace */ |