netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1] err1-28: rose_route locking fix
@ 2004-07-02  8:11 akpm
  2004-07-05 23:02 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2004-07-02  8:11 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm



Fix deadlock in rose_del_loopback_node().  Found by the Stanford locking
checker.

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/net/rose/rose_route.c |    1 -
 1 files changed, 1 deletion(-)

diff -puN net/rose/rose_route.c~err1-28-rose_route-locking-fix net/rose/rose_route.c
--- 25/net/rose/rose_route.c~err1-28-rose_route-locking-fix	2004-07-02 01:09:27.377403248 -0700
+++ 25-akpm/net/rose/rose_route.c	2004-07-02 01:09:33.617454616 -0700
@@ -206,7 +206,6 @@ static void rose_remove_node(struct rose
 {
 	struct rose_node *s;
 
-	spin_lock_bh(&rose_node_list_lock);
 	if ((s = rose_node_list) == rose_node) {
 		rose_node_list = rose_node->next;
 		kfree(rose_node);
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 1/1] err1-28: rose_route locking fix
  2004-07-02  8:11 [patch 1/1] err1-28: rose_route locking fix akpm
@ 2004-07-05 23:02 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-07-05 23:02 UTC (permalink / raw)
  To: akpm; +Cc: netdev, akpm

On Fri, 02 Jul 2004 01:11:17 -0700
akpm@osdl.org wrote:

> Fix deadlock in rose_del_loopback_node().  Found by the Stanford locking
> checker.
> 
> Signed-off-by: Andrew Morton <akpm@osdl.org>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-05 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02  8:11 [patch 1/1] err1-28: rose_route locking fix akpm
2004-07-05 23:02 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).