lkml.org 
[lkml]   [2022]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] rxrpc: Fix call timer start racing with call destruction
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 30 Mar 2022 15:39:16 +0100 you wrote:
> The rxrpc_call struct has a timer used to handle various timed events
> relating to a call. This timer can get started from the packet input
> routines that are run in softirq mode with just the RCU read lock held.
> Unfortunately, because only the RCU read lock is held - and neither ref or
> other lock is taken - the call can start getting destroyed at the same time
> a packet comes in addressed to that call. This causes the timer - which
> was already stopped - to get restarted. Later, the timer dispatch code may
> then oops if the timer got deallocated first.
>
> [...]

Here is the summary with links:
- [net] rxrpc: Fix call timer start racing with call destruction
https://git.kernel.org/netdev/net/c/4a7f62f91933

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


\
 
 \ /
  Last update: 2022-03-31 12:54    [W:0.029 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site