[lkml]   [2023]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net 00/19] rxrpc: Fix race between call connection, data transmit and call disconnect

This series was applied to netdev/net.git (master)
by David Howells <>:

On Sat, 07 Jan 2023 09:52:51 +0000 you wrote:
> Here are patches to fix an oops[1] caused by a race between call
> connection, initial packet transmission and call disconnection which
> results in something like:
> kernel BUG at net/rxrpc/peer_object.c:413!
> when the syzbot test is run. The problem is that the connection procedure
> is effectively split across two threads and can get expanded by taking an
> interrupt, thereby adding the call to the peer error distribution list
> *after* it has been disconnected (say by the rxrpc socket shutting down).
> [...]

Here is the summary with links:
- [net,01/19] rxrpc: Stash the network namespace pointer in rxrpc_local
- [net,02/19] rxrpc: Make the local endpoint hold a ref on a connected call
- [net,03/19] rxrpc: Separate call retransmission from other conn events
- [net,04/19] rxrpc: Only set/transmit aborts in the I/O thread
- [net,05/19] rxrpc: Only disconnect calls in the I/O thread
- [net,06/19] rxrpc: Implement a mechanism to send an event notification to a connection
- [net,07/19] rxrpc: Clean up connection abort
- [net,08/19] rxrpc: Tidy up abort generation infrastructure
- [net,09/19] rxrpc: Make the set of connection IDs per local endpoint
- [net,10/19] rxrpc: Offload the completion of service conn security to the I/O thread
- [net,11/19] rxrpc: Set up a connection bundle from a call, not rxrpc_conn_parameters
- [net,12/19] rxrpc: Split out the call state changing functions into their own file
- [net,13/19] rxrpc: Wrap accesses to get call state to put the barrier in one place
- [net,14/19] rxrpc: Move call state changes from sendmsg to I/O thread
- [net,15/19] rxrpc: Move call state changes from recvmsg to I/O thread
- [net,16/19] rxrpc: Remove call->state_lock
- [net,17/19] rxrpc: Move the client conn cache management to the I/O thread
- [net,18/19] rxrpc: Move client call connection to the I/O thread
- [net,19/19] rxrpc: Fix incoming call setup race

You are awesome, thank you!
Deet-doot-dot, I am a bot.

 \ /
  Last update: 2023-03-26 23:32    [W:0.073 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site