HomeFreeBSD

smbfs_lookup() in the DOTDOT case operates on dvp->n_parent without
rS248101Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

smbfs_lookup() in the DOTDOT case operates on dvp->n_parent without
proper locking. This doesn't prevent in any case reclaim of the vnode.
Avoid this not going over-the-wire in this case and relying on subsequent
smbfs_getattr() call to restore consistency.
While I'm here, change a couple of SMBVDEBUG() in MPASS().
sbmfs_smb_lookup() doesn't and shouldn't know about '.' and '..'

Reported by: pho's stress2 suite

Details

Provenance
davideAuthored on
Parents
rS248100: Merge from vmcontention
Branches
Unknown
Tags
Unknown

Event Timeline