]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/atm/clip.c
Fix nfsd truncation of readdir results
[linux-2.6-omap-h63xx.git] / net / atm / clip.c
index 6f8223ebf551546d8be39503ba4c6489adeb0348..5b5b96344ce60fba334fb291a8fe21393aa8bb26 100644 (file)
@@ -612,7 +612,7 @@ static int clip_device_event(struct notifier_block *this, unsigned long event,
 {
        struct net_device *dev = arg;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                return NOTIFY_DONE;
 
        if (event == NETDEV_UNREGISTER) {