Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121724
b: refs/heads/master
c: 0a36b34
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Nov 6, 2008
1 parent 42c996d commit 3760ba5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae33bc40c0d96d02f51a996482ea7e41c5152695
refs/heads/master: 0a36b345ab99d6b3c96999e7e3b79bd243cf9bf7
4 changes: 3 additions & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2253,8 +2253,10 @@ int netif_receive_skb(struct sk_buff *skb)
rcu_read_lock();

/* Don't receive packets in an exiting network namespace */
if (!net_alive(dev_net(skb->dev)))
if (!net_alive(dev_net(skb->dev))) {
kfree_skb(skb);
goto out;
}

#ifdef CONFIG_NET_CLS_ACT
if (skb->tc_verd & TC_NCLS) {
Expand Down

0 comments on commit 3760ba5

Please sign in to comment.