Revert grabbing the socket lock in kqueue filters.
authormpi <mpi@openbsd.org>
Sat, 8 Jul 2017 09:19:02 +0000 (09:19 +0000)
committermpi <mpi@openbsd.org>
Sat, 8 Jul 2017 09:19:02 +0000 (09:19 +0000)
commit9da3575e51acd695cb33e5a319251ce88c518064
tree53b0734022ac0ca2b110718e1ab29adfc630a1d2
parente56a312a8da1e1dd6b108d5794b2833c0ba7014c
Revert grabbing the socket lock in kqueue filters.

It is unsafe to sleep while iterating the list of pending events in
kqueue_scan().

Reported by abieber@ and juanfra@
sys/kern/uipc_socket.c
sys/miscfs/fifofs/fifo_vnops.c
sys/sys/socketvar.h