mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 16:54:02 +00:00
This patch fixes a problem where, if the NFSv4 server has a previous
unconfirmed clientid structure for the same client on the last hash list, this old entry would not be removed/deleted. I do not think this bug would have caused serious problems, since the new entry would have been before the old one on the list. This old entry would have eventually been scavenged/removed. Detected while reading the code looking for another bug. MFC after: 3 days
This commit is contained in:
parent
c308ef6fd2
commit
25f37276e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286046
|
@ -220,7 +220,8 @@ nfsrv_setclient(struct nfsrv_descript *nd, struct nfsclient **new_clpp,
|
|||
break;
|
||||
}
|
||||
}
|
||||
i++;
|
||||
if (gotit == 0)
|
||||
i++;
|
||||
}
|
||||
if (!gotit ||
|
||||
(clp->lc_flags & (LCL_NEEDSCONFIRM | LCL_ADMINREVOKED))) {
|
||||
|
|
Loading…
Reference in a new issue