Re: [PATCH net v2] devlink: Hold devlink lock on health reporter dump get
From: patchwork-bot+netdevbpf
Date: Fri Oct 06 2023 - 19:00:39 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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