Re: [PATCH net] net: qualcomm: rmnet: fix TX aggregation teardown race

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-11-10 02:55:14
Also in
lkml, stable
Reply to
Jérémy Jean, 2026-11-01
Hello:

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

On Sun,  1 Nov 2026 23:34:28 +0000 you wrote:
There is a race in rmnet_unregister_real_device() because it cancels TX
aggregation before unregistering the rx handler. A transmit that already
obtained the port through rmnet_get_port_rcu() can wait on port->agg_lock,
then create a new aggregate and rearm the timer after
rmnet_map_tx_aggregate_exit() has drained it. The timer can later queue
work on the freed port.

[...]
Here is the summary with links:
  - [net] net: qualcomm: rmnet: fix TX aggregation teardown race
    https://git.kernel.org/netdev/net-next/c/0af0e210b5bd

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

Thread (7 messages) 7 messages, 5 authors, last reply 9d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help