From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: xiyou.wangcong@gmail.com, eric.dumazet@gmail.com,
subashab@codeaurora.org, tgraf@suug.ch, netdev@vger.kernel.org
Subject: Re: Crash due to mutex genl_lock called from RCU context
Date: Tue, 29 Nov 2016 19:49:00 -0500 (EST) [thread overview]
Message-ID: <20161129.194900.805119822120840845.davem@davemloft.net> (raw)
In-Reply-To: <20161128112211.GA990@gondor.apana.org.au>
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Mon, 28 Nov 2016 19:22:12 +0800
> netlink: Call cb->done from a worker thread
>
> The cb->done interface expects to be called in process context.
> This was broken by the netlink RCU conversion. This patch fixes
> it by adding a worker struct to make the cb->done call where
> necessary.
>
> Fixes: 21e4902aea80 ("netlink: Lockless lookup with RCU grace...")
> Reported-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied and queued up for -stable, thanks Herbert.
prev parent reply other threads:[~2016-11-30 0:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-26 2:15 Crash due to mutex genl_lock called from RCU context subashab
2016-11-26 4:11 ` Eric Dumazet
2016-11-26 4:54 ` Eric Dumazet
2016-11-26 5:59 ` subashab
2016-11-27 2:08 ` Cong Wang
2016-11-27 2:26 ` Eric Dumazet
2016-11-27 6:28 ` Cong Wang
2016-11-27 16:23 ` Eric Dumazet
2016-11-28 6:53 ` Cong Wang
2016-11-28 11:22 ` Herbert Xu
2016-11-29 4:33 ` Cong Wang
2016-11-30 0:49 ` David Miller [this message]
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=20161129.194900.805119822120840845.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=netdev@vger.kernel.org \
--cc=subashab@codeaurora.org \
--cc=tgraf@suug.ch \
--cc=xiyou.wangcong@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).