rxrpc: Cache the security index in the rxrpc_call struct
Cache the security index in the rxrpc_call struct so that we can get at it even when the call has been disconnected and the connection pointer cleared. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -198,7 +198,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call,
|
||||
|
||||
/* if the packet need security things doing to it, then it goes down
|
||||
* the slow path */
|
||||
if (call->conn->security_ix)
|
||||
if (call->security_ix)
|
||||
goto enqueue_packet;
|
||||
|
||||
sp->call = call;
|
||||
|
||||
Reference in New Issue
Block a user