diff options
| author | 2020-02-13 21:00:48 +0000 | |
|---|---|---|
| committer | 2020-02-13 21:00:48 +0000 | |
| commit | c9200921909a209bfa4c777e445c413a0246c5a9 (patch) | |
| tree | e5a32223e239420344f94fcae51c10886e614945 /usr.bin/dig/lib/isc/unix/time.c | |
| parent | +trace has the RD bit cleared however it asks the nameserver from (diff) | |
| download | wireguard-openbsd-c9200921909a209bfa4c777e445c413a0246c5a9.tar.xz wireguard-openbsd-c9200921909a209bfa4c777e445c413a0246c5a9.zip | |
Fix missing locking during calls to selwakeup().
selwakeup() was called in the interrupt handler, i.e. with the
audio_lock held. We can't just grab the KERNEL_LOCK needed by
selwakeup(), because locks would be taken in the wrong order. Solve
this by defering selwakeup() calls to a softintr, called with the
KERNEL_LOCK held.
Mostly from mpi@, ok mpi@.
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/time.c')
0 files changed, 0 insertions, 0 deletions
