diff options
Diffstat (limited to 'net/llc')
-rw-r--r-- | net/llc/llc_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_input.c b/net/llc/llc_input.c index 1c45f172991e..57ad974e4d94 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, | |||
150 | int (*rcv)(struct sk_buff *, struct net_device *, | 150 | int (*rcv)(struct sk_buff *, struct net_device *, |
151 | struct packet_type *, struct net_device *); | 151 | struct packet_type *, struct net_device *); |
152 | 152 | ||
153 | if (dev_net(dev) != &init_net) | 153 | if (!net_eq(dev_net(dev), &init_net)) |
154 | goto drop; | 154 | goto drop; |
155 | 155 | ||
156 | /* | 156 | /* |