tevent: let epoll_check_reopen() clear all events before reopening them
commite9d980973468a6d03cbe31e603440c475a22e3d7
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jan 2023 07:21:47 +0000 (11 08:21 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Jul 2023 08:02:33 +0000 (19 08:02 +0000)
treec867bb391c1359980b24f025340c90c748ca26b5
parent3217d5dc1d631d19392576436eb006e52c816a1f
tevent: let epoll_check_reopen() clear all events before reopening them

This is clearer for multiplexed fdes as it means both sides are
already cleared before we call epoll_update_event() again.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/tevent/tevent_epoll.c