HomeFreeBSD

Fix a vnode locking bug in fuse_vnop_advlock.

Description

Fix a vnode locking bug in fuse_vnop_advlock.

Must lock the vnode before accessing the fufh table. Also, check for
invalid parameters earlier. Bug introduced by r346170.

MFC after: 2 weeks

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D27936

Details

Provenance
asomersAuthored on Dec 30 2020, 11:50 PM
Reviewer
cem
Differential Revision
D27936: Fix a vnode locking bug in fuse_vnop_advlock.
Parents
rG34535dace9f0: cap_net: CAPNET_CONNECT and CAPNET_CONNECTDNS are not mutually exclusive
Branches
Unknown
Tags
Unknown