Re: [BUG][PATCH] fd: fix handling of poller updates

2018-04-03 Thread Willy Tarreau
On Tue, Apr 03, 2018 at 07:33:57PM +0200, Olivier Houchard wrote: > Hi, > > The attached patch attempts to fix the way we handle the update_mask bit. > Clearing that bit in fd_insert() may lead to entries being inserted twice > in fd_updt. Instead, make sure the pollers clear that bit once they

[BUG][PATCH] fd: fix handling of poller updates

2018-04-03 Thread Olivier Houchard
Hi, The attached patch attempts to fix the way we handle the update_mask bit. Clearing that bit in fd_insert() may lead to entries being inserted twice in fd_updt. Instead, make sure the pollers clear that bit once they are done with the entry. Regards, Olivier >From