diff options
author | 2019-07-22 16:39:29 +0000 | |
---|---|---|
committer | 2019-07-22 16:39:29 +0000 | |
commit | ff0172c65375a1a3b57cc9c74cb40180daa56567 (patch) | |
tree | f22818f786074768d70a30d8692b19317e717321 /usr.sbin/switchd | |
parent | Eliminate pointless "... else {}" branch to improve readability. (diff) | |
download | wireguard-openbsd-ff0172c65375a1a3b57cc9c74cb40180daa56567.tar.xz wireguard-openbsd-ff0172c65375a1a3b57cc9c74cb40180daa56567.zip |
Grab the vnode lock earlier in sys_getdents() since it could end up
sleeping, allowing the file offset to change. This is part of the
ongoing effort to protect the file offset using the vnode lock.
ok mpi@ visa@
Diffstat (limited to 'usr.sbin/switchd')
0 files changed, 0 insertions, 0 deletions