From: Patrick Caulfield <pcaulfie@redhat.com>
To: davem@redhat.com
Cc: linux-kernel@vger.kernel.org,
DECnet list <linux-decnet-user@lists.sourceforge.net>
Subject: [PATCH] DECnet route RCU fix
Date: Thu, 4 Nov 2004 12:05:00 +0000 [thread overview]
Message-ID: <20041104120500.GI26743@tykepenguin.com> (raw)
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;
}
next reply other threads:[~2004-11-04 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-04 12:05 Patrick Caulfield [this message]
2004-11-04 12:33 ` Patrick Caulfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041104120500.GI26743@tykepenguin.com \
--to=pcaulfie@redhat.com \
--cc=davem@redhat.com \
--cc=linux-decnet-user@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®