From: David Ahern Date: Wed, 12 Apr 2017 00:02:45 +0000 (-0700) Subject: rtnetlink: Do not generate notifications for CHANGELOWERSTATE event X-Git-Tag: v4.12-rc1~108^2~168^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aed073590970137c5937f10c1dff5379d30083a3;p=karo-tx-linux.git rtnetlink: Do not generate notifications for CHANGELOWERSTATE event CHANGELOWERSTATE is an internal event; do not generate userspace notifications. Signed-off-by: David Ahern Signed-off-by: David S. Miller --- 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;