net/bonding: Notify state change on slaves
authorMoni Shoua <monis@mellanox.com>
Tue, 3 Feb 2015 14:48:31 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:24 +0000 (16:14 -0800)
commit69e6113343cfe983511904ffca0d7a1466460b67
treeaf67707b31a322a8a418081cd491900ec8109c84
parent69a2338e05995b10225b2a131f7540d1305980e4
net/bonding: Notify state change on slaves

Use notifier chain to dispatch an event upon a change in slave state.
Event is dispatched with slave specific info.

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>
drivers/net/bonding/bond_main.c
include/net/bonding.h