diff options
author | 2009-05-31 16:58:54 +0000 | |
---|---|---|
committer | 2009-05-31 16:58:54 +0000 | |
commit | b202c6d383d45de914c5d574713f4038ec18d75b (patch) | |
tree | 1fa711d2de6489b63e7b1f20f985994718da0c6f /sys/kern/subr_pool.c | |
parent | Do not access sc_scr[-1] from the wsmoused-related code if (diff) | |
download | wireguard-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