projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf9209
)
rtnetlink: ignore NETDEV_RELEASE and NETDEV_JOIN event
author
Amerigo Wang
<amwang@redhat.com>
Thu, 19 May 2011 23:06:32 +0000
(23:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 May 2011 01:01:19 +0000
(21:01 -0400)
These two events are not expected to be caught by userspace.
Signed-off-by: WANG Cong <amwang@redhat.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 d2ba2597c75a4c6d93c60c56fa13c6be938dde13..d1644e317e70cd2634e92fb5a61153ec18c74882 100644
(file)
--- a/
net/core/rtnetlink.c
+++ b/
net/core/rtnetlink.c
@@
-1956,6
+1956,8
@@
static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
case NETDEV_GOING_DOWN:
case NETDEV_UNREGISTER:
case NETDEV_UNREGISTER_BATCH:
+ case NETDEV_RELEASE:
+ case NETDEV_JOIN:
break;
default:
rtmsg_ifinfo(RTM_NEWLINK, dev, 0);