diff options
author | David Howells <dhowells@redhat.com> | 2016-09-07 16:19:25 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-07 16:30:22 +0200 |
commit | 278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe (patch) | |
tree | 66c323033869878b0ca7b740ac8bf06f94462780 /net/rxrpc/ar-internal.h | |
parent | rxrpc: Use call->peer rather than call->conn->params.peer (diff) | |
download | linux-278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe.tar.xz linux-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/ar-internal.h')
-rw-r--r-- | net/rxrpc/ar-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index 913255a53564..e3dfc9da05fe 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h @@ -475,6 +475,7 @@ struct rxrpc_call { atomic_t skb_count; /* Outstanding packets on this call */ atomic_t sequence; /* Tx data packet sequence counter */ u16 service_id; /* service ID */ + u8 security_ix; /* Security type */ u32 call_id; /* call ID on connection */ u32 cid; /* connection ID plus channel index */ int debug_id; /* debug ID for printks */ |