Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26484
b: refs/heads/master
c: 4cc7c27
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and David S. Miller committed May 4, 2006
1 parent 63b19b8 commit 370a9c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 70868eace5031298c6f6e991a40a2106957f582c
refs/heads/master: 4cc7c2734e2b4032103e47d8f3e8b6fa3360d3f1
5 changes: 0 additions & 5 deletions trunk/net/rose/rose_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,8 @@ static void rose_remove_neigh(struct rose_neigh *rose_neigh)

skb_queue_purge(&rose_neigh->queue);

spin_lock_bh(&rose_neigh_list_lock);

if ((s = rose_neigh_list) == rose_neigh) {
rose_neigh_list = rose_neigh->next;
spin_unlock_bh(&rose_neigh_list_lock);
kfree(rose_neigh->digipeat);
kfree(rose_neigh);
return;
Expand All @@ -246,15 +243,13 @@ static void rose_remove_neigh(struct rose_neigh *rose_neigh)
while (s != NULL && s->next != NULL) {
if (s->next == rose_neigh) {
s->next = rose_neigh->next;
spin_unlock_bh(&rose_neigh_list_lock);
kfree(rose_neigh->digipeat);
kfree(rose_neigh);
return;
}

s = s->next;
}
spin_unlock_bh(&rose_neigh_list_lock);
}

/*
Expand Down

0 comments on commit 370a9c6

Please sign in to comment.