]> 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)
commit933cf081a9d0526bd8c9d2280ac755fd89487ed3
treeafff2a3feab3838763103dd5e59fffb487dd4c1e
parent7b9429a5a5de80bd75c77392d921b5bccdd6a7e3
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