]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove reference count REQUIRE in isc_nm_read()
authorEvan Hunt <each@isc.org>
Mon, 25 Jan 2021 21:14:14 +0000 (13:14 -0800)
committerEvan Hunt <each@isc.org>
Sat, 2 Oct 2021 18:39:56 +0000 (11:39 -0700)
commitd9e1ad9e37f7941dff0b19c18ea64cfd7d842467
tree044bf89a3387ef1e4e3a956f5f39c0b078e49931
parente76a7f764e2ab8b0db98d434fdc6293d3688796a
Remove reference count REQUIRE in isc_nm_read()

Previously isc_nm_read() required references on the handle to be at
least 2, under the assumption that it would only ever be called from a
connect or accept callback. however, it can also be called from a read
callback, in which case the reference count might be only 1.
lib/isc/netmgr/netmgr.c