Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351386
b: refs/heads/master
c: 73bf0d0
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jan 14, 2013
1 parent 626390a commit 353bc63
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f9a8f83b04e0c362a2fc660dbad980d24af209fc
refs/heads/master: 73bf0d0eecba15e2a2f96b1092554b01fc07044b
2 changes: 1 addition & 1 deletion trunk/drivers/net/ifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void ri_tasklet(unsigned long dev)
u64_stats_update_end(&dp->tsync);

rcu_read_lock();
skb->dev = dev_get_by_index_rcu(&init_net, skb->skb_iif);
skb->dev = dev_get_by_index_rcu(dev_net(_dev), skb->skb_iif);
if (!skb->dev) {
rcu_read_unlock();
dev_kfree_skb(skb);
Expand Down

0 comments on commit 353bc63

Please sign in to comment.