diff options
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 1699d42d13ca..85fb8e7efacf 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -173,6 +173,9 @@ static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty | |||
173 | struct ethhdr *eth; | 173 | struct ethhdr *eth; |
174 | struct bpqdev *bpq; | 174 | struct bpqdev *bpq; |
175 | 175 | ||
176 | if (dev->nd_net != &init_net) | ||
177 | goto drop; | ||
178 | |||
176 | if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL) | 179 | if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL) |
177 | return NET_RX_DROP; | 180 | return NET_RX_DROP; |
178 | 181 | ||