Skip to content

Lock the address entry bucket when dumping ADB namehook

Evan Hunt requested to merge 3488-prevent-adb-dump-race into main

When dumping an ADB address entry associated with a name, the name bucket lock was held, but the entry bucket lock was not; this could cause data races when other threads were updating address entry info. (These races are probably not operationally hamful, but they triggered TSAN error reports.)

Closes #3424 (closed), #3425 (closed), #3488 (closed)

Edited by Michał Kępień

Merge request reports