diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 04:49:13 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 04:49:13 (GMT) |
commit | be162d6288053305c32588c0596eb5e8dd90c564 (patch) | |
tree | 04f30314da3b49f3fd32ac79b1e1b603c4c62c35 /net/ipv4/devinet.c | |
parent | 2430aa85de8343662e8496dac9f9e4dade680023 (diff) | |
download | linux-be162d6288053305c32588c0596eb5e8dd90c564.tar.xz |
[NETNS]: Enable inetdev_event notifier.
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>
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 87490f7..90210a7 100644 --- 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) { |