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
@ -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 New Issue
Block a user