]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: bring NETDEV_CHANGEUPPER event process back in rtnetlink_event
authorXin Long <lucien.xin@gmail.com>
Sun, 15 Oct 2017 10:13:44 +0000 (18:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 19:48:45 +0000 (20:48 +0100)
commitc0ca24d80489da5adf8680a5fb6441bc17581984
tree47ca2d465e50d0a363e6ea76a4013d7a2dfdae8b
parentc49ff92462e1d0e52f3246bf6a2d49423817a9f5
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: 885178f416ac ("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>
net/core/rtnetlink.c