From: Denis V. Lunev Date: Fri, 29 Feb 2008 04:49:13 +0000 (-0800) Subject: [NETNS]: Enable inetdev_event notifier. X-Git-Tag: v2.6.26-rc1~1138^2~565 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=be162d6288053305c32588c0596eb5e8dd90c564;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 87490f7bb0f..90210a74d63 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) {