diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-10-15 18:13:44 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-16 20:48:45 +0100 |
commit | dc709f375743ebf5c9326cc9b946f6f09a34ac44 (patch) | |
tree | 47ca2d465e50d0a363e6ea76a4013d7a2dfdae8b /net/core/rtnetlink.c | |
parent | e6e6659446c87057aede26a39d9f16b19001716f (diff) | |
download | linux-dc709f375743ebf5c9326cc9b946f6f09a34ac44.tar.bz2 |
rtnetlink: bring NETDEV_CHANGEUPPER event process back in rtnetlink_event
libteam needs this event notification in userspace when dev's master
dev has been changed. After this, the redundant notifications issue
would be fixed in the later patch 'rtnetlink: check DO_SETLINK_NOTIFY
correctly in do_setlink'.
Fixes: b6b36eb23a46 ("rtnetlink: Do not generate notifications for NETDEV_CHANGEUPPER event")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: David Ahern <dsahern@gmail.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 8e44fd597f46..ab98c1c8b6f3 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -4286,6 +4286,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi case NETDEV_BONDING_FAILOVER: case NETDEV_POST_TYPE_CHANGE: case NETDEV_NOTIFY_PEERS: + case NETDEV_CHANGEUPPER: case NETDEV_RESEND_IGMP: case NETDEV_CHANGEINFODATA: case NETDEV_CHANGE_TX_QUEUE_LEN: |