diff options
author | David Howells <dhowells@redhat.com> | 2022-12-15 16:19:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-19 09:51:31 +0000 |
commit | fdb99487b0189f0ef883e353ad7484c78a8bd425 (patch) | |
tree | dc01c839a15ab0eb446562daa0bcf5f654e48e51 /net/rxrpc/call_object.c | |
parent | 4feb2c44629e6f9b459b41a5a60491069d346a95 (diff) | |
download | lwn-fdb99487b0189f0ef883e353ad7484c78a8bd425.tar.gz lwn-fdb99487b0189f0ef883e353ad7484c78a8bd425.zip |
rxrpc: Fix security setting propagation
Fix the propagation of the security settings from sendmsg to the rxrpc_call
struct.
Fixes: f3441d4125fc ("rxrpc: Copy client call parameters into rxrpc_call earlier")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
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 be5eb8cdf549..89dcf60b1158 100644 --- a/net/rxrpc/call_object.c +++ b/net/rxrpc/call_object.c @@ -217,6 +217,7 @@ static struct rxrpc_call *rxrpc_alloc_client_call(struct rxrpc_sock *rx, call->tx_total_len = p->tx_total_len; call->key = key_get(cp->key); call->local = rxrpc_get_local(cp->local, rxrpc_local_get_call); + call->security_level = cp->security_level; if (p->kernel) __set_bit(RXRPC_CALL_KERNEL, &call->flags); if (cp->upgrade) |