Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-09

Re: [PATCH net] net: dsa: hold rtnl_lock in dsa_switch_setup_tag_protocol

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-09 12:50:10

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Sat,  9 Oct 2021 15:26:07 +0300 you wrote:
It was a documented fact that ds->ops->change_tag_protocol() offered
rtnetlink mutex protection to the switch driver, since there was an
ASSERT_RTNL right before the call in dsa_switch_change_tag_proto()
(initiated from sysfs).

The blamed commit introduced another call path for
ds->ops->change_tag_protocol() which does not hold the rtnl_mutex.
This is:

[...]
Here is the summary with links:
  - [net] net: dsa: hold rtnl_lock in dsa_switch_setup_tag_protocol
    https://git.kernel.org/netdev/net/c/1951b3f19cfe

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help