Thread (6 messages) 6 messages, 3 authors, 2026-02-13

Re: [PATCH v3 0/3] net: mscc: ocelot: fix missing lock in ocelot_port_xmit()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-13 03:10:17
Also in: lkml

Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Sun,  8 Feb 2026 22:55:59 +0000 you wrote:
ocelot_port_xmit() calls ocelot_can_inject() and
ocelot_port_inject_frame() without holding the injection group lock.
Both functions contain lockdep_assert_held() for the injection lock,
and the correct caller felix_port_deferred_xmit() properly acquires
the lock using ocelot_lock_inj_grp() before calling these functions.

this v3 splits the fix into a 3-patch series to separate
refactoring from the behavioral change:

[...]
Here is the summary with links:
  - [v3,1/3] net: mscc: ocelot: extract ocelot_xmit_timestamp() helper
    https://git.kernel.org/netdev/net/c/29372f07f796
  - [v3,2/3] net: mscc: ocelot: split xmit into FDMA and register injection paths
    https://git.kernel.org/netdev/net/c/47f79b20e7fb
  - [v3,3/3] net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()
    https://git.kernel.org/netdev/net/c/026f6513c588

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