[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169663322496.31337.14047004680576589561.git-patchwork-notify@kernel.org>
Date: Fri, 06 Oct 2023 23:00:24 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Moshe Shemesh <moshe@...dia.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
jiri@...dia.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] devlink: Hold devlink lock on health reporter dump get
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 5 Oct 2023 15:50:16 +0300 you wrote:
> Devlink health dump get callback should take devlink lock as any other
> devlink callback. Otherwise, since devlink_mutex was removed, this
> callback is not protected from a race of the reporter being destroyed
> while handling the callback.
>
> Add devlink lock to the callback and to any call for
> devlink_health_do_dump(). This should be safe as non of the drivers dump
> callback implementation takes devlink lock.
>
> [...]
Here is the summary with links:
- [net,v2] devlink: Hold devlink lock on health reporter dump get
https://git.kernel.org/netdev/net/c/aba0e909dc20
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