]> err.no Git - linux-2.6/blobdiff - net/irda/irlap_frame.c
mac80211: Use queue_lock() in ieee80211_ht_agg_queue_remove().
[linux-2.6] / net / irda / irlap_frame.c
index 90894534f3cc67dc9c841405ce7be1bbe4de1d4f..f17b65af9c9b4b28a90aa722feba24b1c2d9a688 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? */