diff options
author | Moni Shoua <monis@mellanox.com> | 2015-02-03 16:48:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-04 16:14:24 -0800 |
commit | 61bd3857ff2c7daf756d49b41e6277bbdaa8f789 (patch) | |
tree | 60cb4a6a64906a1420ebfea518277207ac61f939 /net/core/rtnetlink.c | |
parent | 251c005a6403933b3405fdc15fca4355e7590b42 (diff) | |
download | op-kernel-dev-61bd3857ff2c7daf756d49b41e6277bbdaa8f789.zip op-kernel-dev-61bd3857ff2c7daf756d49b41e6277bbdaa8f789.tar.gz |
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>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 673cb4c..4cd5e35 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -3180,6 +3180,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi case NETDEV_UNREGISTER_FINAL: case NETDEV_RELEASE: case NETDEV_JOIN: + case NETDEV_BONDING_INFO: break; default: rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL); |