summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-queue.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-04-12 11:56:52 +0000
committermpi <mpi@openbsd.org>2020-04-12 11:56:52 +0000
commit3c6c39936460d119f3d0d08761b69e36164ad920 (patch)
tree5766e18ffc81b9cfb6805b296ce2cbf207609f38 /usr.bin/tmux/cmd-queue.c
parentAdd support for the _CCA method. This method indicates whether DMA is (diff)
downloadwireguard-openbsd-3c6c39936460d119f3d0d08761b69e36164ad920.tar.xz
wireguard-openbsd-3c6c39936460d119f3d0d08761b69e36164ad920.zip
Stop processing packets under non-exclusive (read) netlock.
Prevent concurrency in the socket layer which is not ready for that. Two recent data corruptions in pfsync(4) and the socket layer pointed out that, at least, tun(4) was incorrectly using NET_RUNLOCK(). Until we find a way in software to avoid future mistakes and to make sure that only the softnet thread and some ioctls are safe to use a read version of the lock, put everything back to the exclusive version. ok stsp@, visa@
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
0 files changed, 0 insertions, 0 deletions