Commit 891728d3 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[ROSE]: rose_route locking fix

Fix deadlock in rose_del_loopback_node().  Found by the Stanford locking
checker.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent a704f0b4
...@@ -206,7 +206,6 @@ static void rose_remove_node(struct rose_node *rose_node) ...@@ -206,7 +206,6 @@ static void rose_remove_node(struct rose_node *rose_node)
{ {
struct rose_node *s; struct rose_node *s;
spin_lock_bh(&rose_node_list_lock);
if ((s = rose_node_list) == rose_node) { if ((s = rose_node_list) == rose_node) {
rose_node_list = rose_node->next; rose_node_list = rose_node->next;
kfree(rose_node); kfree(rose_node);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment