]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove active handles tracking from isc__nmsocket_t
authorOndřej Surý <ondrej@isc.org>
Wed, 23 Feb 2022 07:54:49 +0000 (08:54 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 23 Feb 2022 21:54:47 +0000 (22:54 +0100)
commite2555a306f1fc157e06d750158fbb47ba70bbba7
tree2657922f47763ac20e3fc5fd1cbcd049fba5edd7
parent326862791689ea7029f381b4afd05c37abbd1fe7
Remove active handles tracking from isc__nmsocket_t

The isc__nmsocket_t has locked array of isc_nmhandle_t that's not used
for anything.  The isc__nmhandle_get() adds the isc_nmhandle_t to the
locked array (and resized if necessary) and removed when
isc_nmhandle_put() finally destroys the handle.  That's all it does, so
it serves no useful purpose.

Remove the .ah_handles, .ah_size, and .ah_frees members of the
isc__nmsocket_t and .ah_pos member of the isc_nmhandle_t struct.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c