]> git.baikalelectronics.ru Git - kernel.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)
commitb77cf41250bf461d2096f62bbfe62a2cb6ebf928
treeafff2a3feab3838763103dd5e59fffb487dd4c1e
parentdd6f45d968d1e3b7e985fd15c77195f508145d6f
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