DECnet route RCU fix
PATCH 1/1 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 <[email protected]>
===== net/decnet/dn_route.c 1.27 vs edited =====
net/decnet/dn_route.c +1 -1
@@ -1676,7 +1676,7 @@ rt = dn_rt_hash_table[s->bucket].chain;if (rt)break ; -rcu_read_unlock (); +rcu_read_unlock_bh (); }return rt; }
I should have made it clear that those last two DECnet patches were against the latest 2.6 kernel.
Signature · 1 line
patrick