diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-10-15 22:33:23 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-10-23 22:57:30 +0300 |
commit | 2b63482185e6054cc11ca6d6c073f90160c161fd (patch) | |
tree | 82c4dda36d1c0cdb6b64c5c7d90793727a9c3c9f /sound | |
parent | 778620364ef525e83597a6edee4d0a69db67fd3d (diff) | |
download | linux-2b63482185e6054cc11ca6d6c073f90160c161fd.tar.xz |
nfsd: fix clid_inuse on mount with security change
In bakeathon testing Solaris client was getting CLID_INUSE error when
doing a krb5 mount soon after an auth_sys mount, or vice versa.
That's not really necessary since in this case the old client doesn't
have any state any more:
http://tools.ietf.org/html/rfc7530#page-103
"when the server gets a SETCLIENTID for a client ID that
currently has no state, or it has state but the lease has
expired, rather than returning NFS4ERR_CLID_INUSE, the server
MUST allow the SETCLIENTID and confirm the new client ID if
followed by the appropriate SETCLIENTID_CONFIRM."
This doesn't fix the problem completely since our client_has_state()
check counts openowners left around to handle close replays, which we
should probably just remove in this case.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions