[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169699262545.24203.13245962379132650786.git-patchwork-notify@kernel.org>
Date: Wed, 11 Oct 2023 02:50:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jeremy Kerr <jk@...econstruct.com.au>
Cc: netdev@...r.kernel.org, rootlab@...wei.com, matt@...econstruct.com.au,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net] mctp: perform route lookups under a RCU read-side lock
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 9 Oct 2023 15:56:45 +0800 you wrote:
> Our current route lookups (mctp_route_lookup and mctp_route_lookup_null)
> traverse the net's route list without the RCU read lock held. This means
> the route lookup is subject to preemption, resulting in an potential
> grace period expiry, and so an eventual kfree() while we still have the
> route pointer.
>
> Add the proper read-side critical section locks around the route
> lookups, preventing premption and a possible parallel kfree.
>
> [...]
Here is the summary with links:
- [net] mctp: perform route lookups under a RCU read-side lock
https://git.kernel.org/netdev/net/c/5093bbfc10ab
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists