summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPatrick Caulfield <patrick@tykepenguin.com>2004-11-05 07:42:48 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-11-05 07:42:48 -0800
commitcf3659b91ff54669891940cfcb8625d22e53772a (patch)
treeae7fd58bf6d66fed993a1237bee2124a0e6aa7b6 /net
parentb4e94293a8411607ffb1073c5fab21a4af5ba4d1 (diff)
[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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/decnet/dn_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index 32e3cd4bc3b9..de85549feb7f 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -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;
}