diff options
author | Dai Ngo <[email protected]> | 2022-01-26 13:13:38 -0800 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-01-28 09:04:00 -0500 |
commit | ab451ea952fe9d7afefae55ddb28943a148247fe (patch) | |
tree | b595b5aa1c6d6eef0da0f907065b5d55a9cdb299 /scripts/gdb | |
parent | d19a7af73b5ecaac8168712d18be72b9db166768 (diff) |
nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
From RFC 7530 Section 16.34.5:
o The server has not recorded an unconfirmed { v, x, c, *, * } and
has recorded a confirmed { v, x, c, *, s }. If the principals of
the record and of SETCLIENTID_CONFIRM do not match, the server
returns NFS4ERR_CLID_INUSE without removing any relevant leased
client state, and without changing recorded callback and
callback_ident values for client { x }.
The current code intends to do what the spec describes above but
it forgot to set 'old' to NULL resulting to the confirmed client
to be expired.
Fixes: 2b63482185e6 ("nfsd: fix clid_inuse on mount with security change")
Signed-off-by: Dai Ngo <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Bruce Fields <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions