commit | e999869548b9ab97b7dffa053ba2fee81c31d069 | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Thu Jul 30 18:33:24 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Sun Aug 30 18:08:50 2015 -0400 |
tree | d4c7bfbf220cd541d8d3426c50d7b257a68e733c | |
parent | 816dd19b3d191da88bc034fb85e21ed09a3ed320 [diff] |
net/bonding: Export bond_option_active_slave_get_rcu Some consumers of the netdev events API would like to know who is the active slave when a NETDEV_CHANGEUPPER or NETDEV_BONDING_FAILOVER events occur. For example, when managing RoCE GIDs, GIDs based on the bond's ips should only be set on the port which corresponds to active slave netdevice. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>