Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263511
b: refs/heads/master
c: 20e6074
h: refs/heads/master
i:
  263509: 29670fa
  263507: c076567
  263503: 2063d2e
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 25, 2011
1 parent 840ae11 commit 141fd37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 22df13319d1fec30b8f9bcaadc295829647109bb
refs/heads/master: 20e6074eb8e096b3a595c093d1cb222f378cd671
8 changes: 6 additions & 2 deletions trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,11 +1319,15 @@ static void neigh_proxy_process(unsigned long arg)

if (tdif <= 0) {
struct net_device *dev = skb->dev;

__skb_unlink(skb, &tbl->proxy_queue);
if (tbl->proxy_redo && netif_running(dev))
if (tbl->proxy_redo && netif_running(dev)) {
rcu_read_lock();
tbl->proxy_redo(skb);
else
rcu_read_unlock();
} else {
kfree_skb(skb);
}

dev_put(dev);
} else if (!sched_next || tdif < sched_next)
Expand Down

0 comments on commit 141fd37

Please sign in to comment.