]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/decnet/dn_route.c
autofs4: correct offset mount expire check
[linux-2.6-omap-h63xx.git] / net / decnet / dn_route.c
index f50e88bf2661b5cb3f353433007aad7415410ab4..821bd1cdec04d23125cbe98ca893a329bf8d844d 100644 (file)
@@ -580,7 +580,7 @@ int dn_route_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type
        struct dn_dev *dn = (struct dn_dev *)dev->dn_ptr;
        unsigned char padlen = 0;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                goto dump_it;
 
        if (dn == NULL)