summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2009-05-31 16:58:54 +0000
committerclaudio <claudio@openbsd.org>2009-05-31 16:58:54 +0000
commitb202c6d383d45de914c5d574713f4038ec18d75b (patch)
tree1fa711d2de6489b63e7b1f20f985994718da0c6f /sys/kern/subr_pool.c
parentDo not access sc_scr[-1] from the wsmoused-related code if (diff)
downloadwireguard-openbsd-b202c6d383d45de914c5d574713f4038ec18d75b.tar.xz
wireguard-openbsd-b202c6d383d45de914c5d574713f4038ec18d75b.zip
The libevent callback function may be called with EV_READ and EV_WRITE
set at the same time so using a switch to do read or write is a bad idea. Problem noticed by Eygene Ryabinkin on FreeBSD for some reasons it is not triggered on OpenBSD. Fix aggreed by a most other libevent hackers
Diffstat (limited to 'sys/kern/subr_pool.c')
0 files changed, 0 insertions, 0 deletions