Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256486
b: refs/heads/master
c: 0895b08
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 17, 2011
1 parent 096bada commit a6b7ec8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 05e3aa0949c138803185f92bd7db9be59cfca1be
refs/heads/master: 0895b08adeb3f660cdff21990d0a9c2b59a919e7
9 changes: 0 additions & 9 deletions trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ static void neigh_destroy_rcu(struct rcu_head *head)
*/
void neigh_destroy(struct neighbour *neigh)
{
struct hh_cache *hh;

NEIGH_CACHE_STAT_INC(neigh->tbl, destroys);

if (!neigh->dead) {
Expand All @@ -703,13 +701,6 @@ void neigh_destroy(struct neighbour *neigh)
if (neigh_del_timer(neigh))
printk(KERN_WARNING "Impossible event.\n");

hh = &neigh->hh;
if (hh->hh_len) {
write_seqlock_bh(&hh->hh_lock);
hh->hh_output = neigh_blackhole;
write_sequnlock_bh(&hh->hh_lock);
}

skb_queue_purge(&neigh->arp_queue);

dev_put(neigh->dev);
Expand Down

0 comments on commit a6b7ec8

Please sign in to comment.