Commit cf3659b9 authored by Patrick Caulfield's avatar Patrick Caulfield Committed by David S. Miller

[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: default avatarPatrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4e94293
......@@ -1676,7 +1676,7 @@ static struct dn_route *dn_rt_cache_get_first(struct seq_file *seq)
rt = dn_rt_hash_table[s->bucket].chain;
if (rt)
break;
rcu_read_unlock();
rcu_read_unlock_bh();
}
return rt;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment