diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-10-18 17:43:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-19 18:58:45 -0400 |
commit | 752d48b52ec929c6fd6ccd7ea9728571830fdd49 (patch) | |
tree | 9cfca24ba271e1c6ba64fae7417437f729c166ea /drivers/net/bonding/bonding.h | |
parent | 080a06e1a9a5d2c55884d5fba8755d0af838cd5c (diff) | |
download | lwn-752d48b52ec929c6fd6ccd7ea9728571830fdd49.tar.gz lwn-752d48b52ec929c6fd6ccd7ea9728571830fdd49.zip |
bonding: move active_slave getting into separate function
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 686759dce4c6..046a60535e04 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -428,6 +428,8 @@ 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 net_device *bond_option_active_slave_get_rcu(struct bonding *bond); +struct net_device *bond_option_active_slave_get(struct bonding *bond); struct bond_net { struct net * net; /* Associated network namespace */ |