projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf2c298
)
rtnetlink: Do not generate notifications for CHANGELOWERSTATE event
author
David Ahern
<dsa@cumulusnetworks.com>
Wed, 12 Apr 2017 00:02:45 +0000
(17:02 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 13 Apr 2017 17:16:33 +0000
(13:16 -0400)
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>
net/core/rtnetlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index 10df445bb8183a1eb72adce22cd277d12ca0d5c9..b70e915be66d00dcf5ca89bb79b3043ce5a07497 100644
(file)
--- 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;