diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-04-12 03:02:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-13 20:16:33 +0300 |
commit | aed073590970137c5937f10c1dff5379d30083a3 (patch) | |
tree | 1e014183aa3245a05cb3c2ca77ad411dd07107c1 /net/core/rtnetlink.c | |
parent | bf2c2984d3f4d22b8617df1b0103bab9b7970902 (diff) | |
download | linux-aed073590970137c5937f10c1dff5379d30083a3.tar.xz |
rtnetlink: Do not generate notifications for CHANGELOWERSTATE event
CHANGELOWERSTATE is an internal event; do not generate userspace
notifications.
Signed-off-by: David Ahern <dsa@cumulusnetworks.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, 0 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 10df445bb818..b70e915be66d 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -4124,7 +4124,6 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi case NETDEV_CHANGEUPPER: case NETDEV_RESEND_IGMP: case NETDEV_CHANGEINFODATA: - case NETDEV_CHANGELOWERSTATE: case NETDEV_CHANGE_TX_QUEUE_LEN: rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL); break; |