Skip to content

xfrin.c: use the statslock for more xfrin members

Arаm Sаrgsyаn requested to merge 4332-data-race-in-dns_xfrin_getendserial into main

The 'end_serial' and some other members of the 'dns_xfrin_t' structure can be accessed by the statistics channel, causing a data race with the zone transfer process.

Use the existing 'statslock' mutex for protecting those members.

Closes #4332 (closed)

Merge request reports