From: willy tarreau Date: Sun, 19 Mar 2006 18:33:33 +0000 (+0100) Subject: ENORMOUS long standing bug affecting the epoll polling system. X-Git-Tag: v1.2.10~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c407cd544b8a015a71ee3623074536fd7f4c7b0;p=thirdparty%2Fhaproxy.git ENORMOUS long standing bug affecting the epoll polling system. event_data is a union, not a structure ! --- diff --git a/include/epoll.h b/include/epoll.h index af9841c03d..4b753839cd 100644 --- a/include/epoll.h +++ b/include/epoll.h @@ -23,7 +23,7 @@ struct epoll_event { uint32_t events; - struct { + union { void *ptr; int fd; uint32_t u32;