]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: fail attempts to request gss on the backchannel
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 15 May 2013 21:34:39 +0000 (17:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 1 Jul 2013 21:23:06 +0000 (17:23 -0400)
commitadf5074e2ed7ceec637bb04c057781a102957b8d
tree52b9f29bf6122fa54e0f498585ccaa752af96818
parent8eba91e187df67a6cb4440e1158b2bed0b37fa85
nfsd4: fail attempts to request gss on the backchannel

We don't support gss on the backchannel.  We should state that fact up
front rather than just letting things continue and later making the
client try to figure out why the backchannel isn't working.

Trond suggested instead returning NFS4ERR_NOENT.  I think it would be
tricky for the client to distinguish between the case "I don't support
gss on the backchannel" and "I can't find that in my cache, please
create another context and try that instead", and I'd prefer something
that currently doesn't have any other meaning for this operation, hence
the (somewhat arbitrary) NFS4ERR_ENCR_ALG_UNSUPP.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c