Author :
Isidor Kouvelas
Date :
2018-10-30 08:50:08
Hash :63306e6f Message :Epoll ET setting lost with multiple events for same fd
[ Upstream commit b77d3e787b5522380c65838d3baa22e661eff0db ]
After two or more events have been registered for the same file
descriptor using EV_ET, if one of the events is deleted, then the
epoll_ctl() call issued by libevent drops the EPOLLET flag resulting in
level triggered notifications.
[ azat: test for EV_ET for EPOLL_CTL_MOD too, for libevent 2.0 ]
Fixes: #636