diff options
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 85fb8e7efacf..df09210f7351 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -563,6 +563,9 @@ static int bpq_device_event(struct notifier_block *this,unsigned long event, voi | |||
563 | { | 563 | { |
564 | struct net_device *dev = (struct net_device *)ptr; | 564 | struct net_device *dev = (struct net_device *)ptr; |
565 | 565 | ||
566 | if (dev->nd_net != &init_net) | ||
567 | return NOTIFY_DONE; | ||
568 | |||
566 | if (!dev_is_ethdev(dev)) | 569 | if (!dev_is_ethdev(dev)) |
567 | return NOTIFY_DONE; | 570 | return NOTIFY_DONE; |
568 | 571 | ||