]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rxrpc: Fix the min security level for kernel calls
authorDavid Howells <dhowells@redhat.com>
Thu, 10 May 2018 22:26:01 +0000 (23:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:40 +0000 (04:01 +0900)
commitad96b6fcd10378db1208fe099e59e3ce27c0c53a
treee9c3c09f31341e8d2add8c68308ae2bfb0f19e8b
parente41489e6e9f0a9e98461be11644f9b5a6706a4b0
rxrpc: Fix the min security level for kernel calls

[ Upstream commit 93864fc3ffcc4bf70e96cfb5cc6e941630419ad0 ]

Fix the kernel call initiation to set the minimum security level for kernel
initiated calls (such as from kAFS) from the sockopt value.

Fixes: 19ffa01c9c45 ("rxrpc: Use structs to hold connection params and protocol info")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/rxrpc/af_rxrpc.c