]> git.ipfire.org Git - thirdparty/bind9.git/commit
Repair isc_task_purgeevent(), clean isc_task_unsend{,range}()
authorOndřej Surý <ondrej@isc.org>
Thu, 31 Mar 2022 19:55:15 +0000 (21:55 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 Apr 2022 21:45:23 +0000 (23:45 +0200)
commit17aed2f8951d75bfb4ea8ff5fcfdb7f13dd0ce2d
tree73cc5acacb995197abcfc4b3b6990347e031b0c8
parentfe4cd556b3a8d2d2c3879d3ce6016ae2d55d7e74
Repair isc_task_purgeevent(), clean isc_task_unsend{,range}()

The isc_task_purgerange() was walking through all events on the task to
find a matching task.  Instead use the ISC_LINK_LINKED to find whether
the event is active.

Cleanup the related isc_task_unsend() and isc_task_unsendrange()
functions that were not used anywhere.
lib/isc/include/isc/task.h
lib/isc/task.c