The vnode was not being vput()'d in the EEXIST mknod case on the nfs
server side. This can lead to a system deadlock. Reviewed by: iedowse Tested by: Alexey G Misurenko <mag@caravan.ru>, iedowse Bug found with help by: Alexey G Misurenko <mag@caravan.ru> MFC at: earliest convenience
This commit is contained in:
parent
24043ba7ec
commit
9348f5e7a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89367
@ -2000,6 +2000,8 @@ nfsrv_mknod(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
|
||||
error = VFS_VPTOFH(vp, &fhp->fh_fid);
|
||||
if (!error)
|
||||
error = VOP_GETATTR(vp, vap, cred, td);
|
||||
}
|
||||
if (vp) {
|
||||
vput(vp);
|
||||
vp = NULL;
|
||||
nd.ni_vp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user