X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fatm%2Fclip.c;h=5b5b96344ce60fba334fb291a8fe21393aa8bb26;hb=e74783ec3cb981211689bd2cfd3248f8dc48ec01;hp=6f8223ebf551546d8be39503ba4c6489adeb0348;hpb=ce1d5b23a8d1e19866ab82bdec0dc41fde5273d8;p=linux-2.6-omap-h63xx.git diff --git a/net/atm/clip.c b/net/atm/clip.c index 6f8223ebf55..5b5b96344ce 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c @@ -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) {