X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fllc%2Fllc_input.c;h=57ad974e4d9490b84cca490e2a42d4150f30c81d;hb=09640e6365c679b5642b1c41b6d7078f51689ddf;hp=1c45f172991efa466104374c55710d31d08676ae;hpb=cf867ac375cea7c7a834eaddaf373e2662d9e260;p=~andy%2Flinux diff --git a/net/llc/llc_input.c b/net/llc/llc_input.c index 1c45f172991..57ad974e4d9 100644 --- a/net/llc/llc_input.c +++ b/net/llc/llc_input.c @@ -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; /*