net/core: Add event for a change in slave state
authorMoni Shoua <monis@mellanox.com>
Tue, 3 Feb 2015 14:48:29 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:24 +0000 (16:14 -0800)
commit61bd3857ff2c7daf756d49b41e6277bbdaa8f789
tree60cb4a6a64906a1420ebfea518277207ac61f939
parent251c005a6403933b3405fdc15fca4355e7590b42
net/core: Add event for a change in slave state

Add event which provides an indication on a change in the state
of a bonding slave. The event handler should cast the pointer to the
appropriate type (struct netdev_bonding_info) in order to get the
full info about the slave.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/rtnetlink.c