diff options
author | 2018-07-01 16:33:15 +0000 | |
---|---|---|
committer | 2018-07-01 16:33:15 +0000 | |
commit | 6d3239aff0f5e7c4be474d6b808198d075e433a4 (patch) | |
tree | 6d4766a1d0f22a9d75aea4de150ea85e346117cc /sys/dev/fdt/dwpcie.c | |
parent | Update IDTVEC, KIDTVEC, and KUENTRY to align with _ALIGN_TRAPS instead of (diff) | |
download | wireguard-openbsd-6d3239aff0f5e7c4be474d6b808198d075e433a4.tar.xz wireguard-openbsd-6d3239aff0f5e7c4be474d6b808198d075e433a4.zip |
Lock the file descriptor table when accessing the `fd_ofileflags' array.
This prevents the array from being freed too early. In the function
unp_internalize(), the locking also ensures the per-fdp flags stay
coherent with the file instance.
OK mpi@
Diffstat (limited to 'sys/dev/fdt/dwpcie.c')
0 files changed, 0 insertions, 0 deletions