mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -2000,6 +2000,8 @@ out:
|
|||
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 a new issue