diff options
-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 87490f7bb0f7..90210a74d638 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, | |||
1045 | struct net_device *dev = ptr; | 1045 | struct net_device *dev = ptr; |
1046 | struct in_device *in_dev = __in_dev_get_rtnl(dev); | 1046 | struct in_device *in_dev = __in_dev_get_rtnl(dev); |
1047 | 1047 | ||
1048 | if (dev->nd_net != &init_net) | ||
1049 | return NOTIFY_DONE; | ||
1050 | |||
1051 | ASSERT_RTNL(); | 1048 | ASSERT_RTNL(); |
1052 | 1049 | ||
1053 | if (!in_dev) { | 1050 | if (!in_dev) { |