]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae6062406836000cb397a4e24c5b36027ac13a1d
tree60cb4a6a64906a1420ebfea518277207ac61f939
parentb9c4603334cee4b2dab27f8de2cfc9ee72a3b903
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