]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/ip6mr.c
lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
[linux-2.6-omap-h63xx.git] / net / ipv6 / ip6mr.c
index 0b41aa2675f58b76dacd92658b773486f9cae682..095bc453ff4c29e0f8ae7b19a2017b8d4fa0c731 100644 (file)
@@ -935,7 +935,7 @@ static int ip6mr_device_event(struct notifier_block *this,
        struct mif_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)