]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
afs: Fix the non-encryption of calls
authorDavid Howells <dhowells@redhat.com>
Thu, 10 May 2018 22:10:40 +0000 (23:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 14 May 2018 14:15:19 +0000 (15:15 +0100)
commit4776cab43fd3111618112737a257dc3ef368eddd
treeafff2a3feab3838763103dd5e59fffb487dd4c1e
parent428edade4e6c70e5b51fcd4188d944fbb744d84c
afs: Fix the non-encryption of calls

Some AFS servers refuse to accept unencrypted traffic, so can't be accessed
with kAFS.  Set the AF_RXRPC security level to encrypt client calls to deal
with this.

Note that incoming service calls are set by the remote client and so aren't
affected by this.

This requires an AF_RXRPC patch to pass the value set by setsockopt to calls
begun by the kernel.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c