summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/dwpcie.c
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2018-07-01 16:33:15 +0000
committervisa <visa@openbsd.org>2018-07-01 16:33:15 +0000
commit6d3239aff0f5e7c4be474d6b808198d075e433a4 (patch)
tree6d4766a1d0f22a9d75aea4de150ea85e346117cc /sys/dev/fdt/dwpcie.c
parentUpdate IDTVEC, KIDTVEC, and KUENTRY to align with _ALIGN_TRAPS instead of (diff)
downloadwireguard-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