]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/llc/llc_input.c
PCI: add routines for debugging and handling lost interrupts
[linux-2.6-omap-h63xx.git] / net / llc / llc_input.c
index 1c45f172991efa466104374c55710d31d08676ae..57ad974e4d9490b84cca490e2a42d4150f30c81d 100644 (file)
@@ -150,7 +150,7 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
        int (*rcv)(struct sk_buff *, struct net_device *,
                   struct packet_type *, struct net_device *);
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                goto drop;
 
        /*