]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/ipmr.c
rtc-cmos: wake again from S5
[linux-2.6-omap-h63xx.git] / net / ipv4 / ipmr.c
index 033c712c3a5d97d7c24a6e0f389f4550423002f5..c519b8d30eee5c46f4547c3a014b3832d5a090ab 100644 (file)
@@ -1124,7 +1124,7 @@ static int ipmr_device_event(struct notifier_block *this, unsigned long event, v
        struct vif_device *v;
        int ct;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                return NOTIFY_DONE;
 
        if (event != NETDEV_UNREGISTER)