Merge branch 'linus' into xen-64bit
[pandora-kernel.git] / net / irda / irlap_frame.c
index 9089453..f17b65a 100644 (file)
@@ -1326,7 +1326,7 @@ int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev,
        int command;
        __u8 control;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                goto out;
 
        /* FIXME: should we get our own field? */