Skip to content

prevent a possible shutdown hang in rndc

Evan Hunt requested to merge 3520-rndc-shutdown-hang into main

In rndc_recvdone(), if 'sends' was not 0, then 'recvs' was not decremented, in which case isc_loopmgr_shutdown() was never reached, which could cause a hang. (This has not been observed to happen, but the code was incorrect on examination.)

Edited by Evan Hunt

Merge request reports