diff options
| author | 2014-01-16 22:57:56 -0800 | |
|---|---|---|
| committer | 2014-01-17 18:51:58 -0800 | |
| commit | 1d3ee88ae0d605629bf369ab0b868dae8ca62a48 (patch) | |
| tree | 7d547bb8ba12b9417a8f0055a08f1026d6392cf2 /scripts | |
| parent | bonding: add sysfs /slave dir for bond slave devices. (diff) | |
bonding: add netlink attributes to slave link dev
If link is IFF_SLAVE, extend link dev netlink attributes to include
slave attributes with new IFLA_SLAVE nest. Add netlink notification
(RTM_NEWLINK) when slave status changes from backup to active, or
visa-versa.
Adds new ndo_get_slave op to net_device_ops to fill skb with IFLA_SLAVE
attributes. Currently only used by bonding driver, but could be
used by other aggregating devices with slaves.
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
