aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/input.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-07 15:19:25 +0100
committerDavid Howells <dhowells@redhat.com>2016-09-07 15:30:22 +0100
commit278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe (patch)
tree66c323033869878b0ca7b740ac8bf06f94462780 /net/rxrpc/input.c
parentrxrpc: Use call->peer rather than call->conn->params.peer (diff)
downloadlinux-dev-278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe.tar.xz
linux-dev-278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe.zip
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>
Diffstat (limited to 'net/rxrpc/input.c')
-rw-r--r--net/rxrpc/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index f7239a6f9181..9242fefd7f40 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -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;