Re: [PATCH net] rxrpc: Fix client call connect/disconnect race

2019-03-08 Thread David Miller
From: David Howells Date: Fri, 08 Mar 2019 12:48:39 + > rxrpc_disconnect_client_call() reads the call's connection ID protocol > value (call->cid) as part of that function's variable declarations. This > is bad because it's not inside the locked section and so may race with > someone grantin

[PATCH net] rxrpc: Fix client call connect/disconnect race

2019-03-08 Thread David Howells
rxrpc_disconnect_client_call() reads the call's connection ID protocol value (call->cid) as part of that function's variable declarations. This is bad because it's not inside the locked section and so may race with someone granting use of the channel to the call. This manifests as an assertion fa