Messages in this thread Patch in this message | | | Date | Thu, 4 Nov 2004 12:05:00 +0000 | From | Patrick Caulfield <> | 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/
| |