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:02:56 +0000 (04:02 +0900)
commit29475c404b56f4ff03d99e35b9258dc6dbf8f4b1
tree49fac2d0e499685076b6e67771795e8bc62bcd78
parentb2abd2b98afccb8dfa9d0e51ab8f77e574ad7756
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