]> 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)
commit1cc4deb0c308f0d3abf1885fbdb84328db271740
tree52b9f29bf6122fa54e0f498585ccaa752af96818
parentce2623dbd7c7c9df3c796b8f876e8f820303f96d
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