summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:11:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:11:47 +0000
commit04a31e5424c73b06d2df33edcb0a32b8853ba888 (patch)
tree3a6e777c95392563fa2fe2fd76ac1220426954d2 /sys/miscfs
parent8eb1c80ffa1f2bec2c977b5d6d4847c8a85f0aba (diff)
pretty much all of tun_wakeup needs to be protected with KERNEL_LOCK
tun_wakeup is called from the network stack, which generally runs with NET_LOCK, not KERNEL_LOCK, which is a problem when it calls into things like csignal or kq code. this started causing corruption and panics of a list inside the kq code, which got reported to bugs@. this version of the fix is ok mpi@ (even though he hasn't seen it) an earlier but far trickier fix was ok visa@ the bug was reported by Olivier Antoine, and again by jmc@ privately.
Diffstat (limited to 'sys/miscfs')
0 files changed, 0 insertions, 0 deletions