[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161129.194900.805119822120840845.davem@davemloft.net>
Date: Tue, 29 Nov 2016 19:49:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: xiyou.wangcong@...il.com, eric.dumazet@...il.com,
subashab@...eaurora.org, tgraf@...g.ch, netdev@...r.kernel.org
Subject: Re: Crash due to mutex genl_lock called from RCU context
From: Herbert Xu <herbert@...dor.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@...eaurora.org>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied and queued up for -stable, thanks Herbert.
Powered by blists - more mailing lists