X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Firda%2Firlap_frame.c;h=f17b65af9c9b4b28a90aa722feba24b1c2d9a688;hb=e66d90fb4abd0a27ee96f57a32fb561221c4d6ae;hp=90894534f3cc67dc9c841405ce7be1bbe4de1d4f;hpb=1e42198609d73ed1a9adcba2af275c24c2678420;p=pandora-kernel.git diff --git a/net/irda/irlap_frame.c b/net/irda/irlap_frame.c index 90894534f3cc..f17b65af9c9b 100644 --- a/net/irda/irlap_frame.c +++ b/net/irda/irlap_frame.c @@ -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? */