lkml.org 
[lkml]   [2004]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] DECnet route RCU fix
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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.162 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site