projects
/
GitHub
/
LineageOS
/
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:
2430aa8
)
[NETNS]: Enable inetdev_event notifier.
author
Denis V. Lunev
<den@openvz.org>
Fri, 29 Feb 2008 04:49:13 +0000
(20:49 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 29 Feb 2008 04:49:13 +0000
(20:49 -0800)
After all these preparations it is time to enable main IPv4 device
initialization routine inside namespace. It is safe do this now.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/devinet.c
b/net/ipv4/devinet.c
index 87490f7bb0f72a47db2a3e8a28ce3816cd236032..90210a74d6383579632ff9c96b3c585ed1b735a5 100644
(file)
--- a/
net/ipv4/devinet.c
+++ b/
net/ipv4/devinet.c
@@
-1045,9
+1045,6
@@
static int inetdev_event(struct notifier_block *this, unsigned long event,
struct net_device *dev = ptr;
struct in_device *in_dev = __in_dev_get_rtnl(dev);
- if (dev->nd_net != &init_net)
- return NOTIFY_DONE;
-
ASSERT_RTNL();
if (!in_dev) {