From: sfeldma@cumulusnetworks.com Date: Fri, 17 Jan 2014 06:57:56 +0000 (-0800) Subject: bonding: add netlink attributes to slave link dev X-Git-Tag: v3.14-rc1~94^2~103^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d3ee88ae0d605629bf369ab0b868dae8ca62a48;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed