Merge #20816: net: Move RecordBytesSent() call out of cs_vSend lock
pull/826/head378aedc452
[net] Add cs_vSend lock annotations (John Newbery)673254515a
[net] Move RecordBytesSent() call out of cs_vSend lock (John Newbery) Pull request description: RecordBytesSent() does not require cs_vSend to be locked, so reduce the scope of cs_vSend. Also correctly annotate the CNode data members that are guarded by cs_vSend. This is a simpler alternative to #19673. ACKs for top commit: jnewbery: ok, reverting to commit378aedc
which has two ACKs already. Any style issues can be fixed up in future PRs. troygiorshev: ACK378aedc452
theStack: re-ACK378aedc452
MarcoFalke: review ACK378aedc452
🔌 Tree-SHA512: e9cd6c472b7e1479120c1bf2d1c640cf6d18c7d589a5f9b7dfc4875e5790adaab403a7a1b945a47e79e7249a614b8583270e4549f89b22e8a9edb2e4818b0d07
commit
4eada5d8b1
Loading…
Reference in new issue