X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Firda%2Firlap_frame.c;h=f17b65af9c9b4b28a90aa722feba24b1c2d9a688;hb=1730554f253deb65fe5112c54b2f898d5318a328;hp=90894534f3cc67dc9c841405ce7be1bbe4de1d4f;hpb=946e2ad040000a14b7316fae722e7e65fa09ffe5;p=linux-2.6 diff --git a/net/irda/irlap_frame.c b/net/irda/irlap_frame.c index 90894534f3..f17b65af9c 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? */