diff options
author | David Howells <dhowells@redhat.com> | 2016-09-07 15:19:25 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-07 15:30:22 +0100 |
commit | 278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe (patch) | |
tree | 66c323033869878b0ca7b740ac8bf06f94462780 /net/rxrpc/call_object.c | |
parent | f4fdb3525b247e1b4f9cc563641494c96c80f91a (diff) | |
download | linux-278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe.tar.bz2 |
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/call_object.c')
-rw-r--r-- | net/rxrpc/call_object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/call_object.c b/net/rxrpc/call_object.c index 060ddc32a85e..83019e489555 100644 --- a/net/rxrpc/call_object.c +++ b/net/rxrpc/call_object.c @@ -345,6 +345,7 @@ struct rxrpc_call *rxrpc_incoming_call(struct rxrpc_sock *rx, candidate->peer = conn->params.peer; candidate->cid = sp->hdr.cid; candidate->call_id = sp->hdr.callNumber; + candidate->security_ix = sp->hdr.securityIndex; candidate->rx_data_post = 0; candidate->state = RXRPC_CALL_SERVER_ACCEPTING; candidate->flags |= (1 << RXRPC_CALL_IS_SERVICE); |