aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipx
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipx')
-rw-r--r--net/ipx/af_ipx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c
index f7b4d383c609..24921f12e9af 100644
--- a/net/ipx/af_ipx.c
+++ b/net/ipx/af_ipx.c
@@ -347,6 +347,9 @@ static int ipxitf_device_event(struct notifier_block *notifier,
347 struct net_device *dev = ptr; 347 struct net_device *dev = ptr;
348 struct ipx_interface *i, *tmp; 348 struct ipx_interface *i, *tmp;
349 349
350 if (dev->nd_net != &init_net)
351 return NOTIFY_DONE;
352
350 if (event != NETDEV_DOWN && event != NETDEV_UP) 353 if (event != NETDEV_DOWN && event != NETDEV_UP)
351 goto out; 354 goto out;
352 355