mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] DECnet route RCU fix
@ 2004-11-04 12:05 Patrick Caulfield
  2004-11-04 12:33 ` Patrick Caulfield
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Caulfield @ 2004-11-04 12:05 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, DECnet list

This patch fixes a missing _bh in the 23 August locking update. 
Without this any attempt to read from /proc/net/decnet_cache causes a 
"scheduling while atomic" crash.


Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>

===== net/decnet/dn_route.c 1.27 vs edited =====
--- 1.27/net/decnet/dn_route.c	2004-10-28 08:39:57 +01:00
+++ edited/net/decnet/dn_route.c	2004-11-04 11:59:37 +00:00
@@ -1676,7 +1676,7 @@
 		rt = dn_rt_hash_table[s->bucket].chain;
 		if (rt)
 			break;
-		rcu_read_unlock();
+		rcu_read_unlock_bh();
 	}
 	return rt;
 }

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

* Re: [PATCH] DECnet route RCU fix
  2004-11-04 12:05 [PATCH] DECnet route RCU fix Patrick Caulfield
@ 2004-11-04 12:33 ` Patrick Caulfield
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Caulfield @ 2004-11-04 12:33 UTC (permalink / raw)
  To: davem, linux-kernel, DECnet list

I should have made it clear that those last two DECnet patches were against the
latest 2.6 kernel.
-- 

patrick

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

end of thread, other threads:[~2004-11-04 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-04 12:05 [PATCH] DECnet route RCU fix Patrick Caulfield
2004-11-04 12:33 ` Patrick Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®