Improve the locking design inside TrafficController
Rename the mOwnerMatchMutex lock to mMutex and use it to protect all
data structures in TrafficController that could be accessed
concurrently. Add necessary annotations to the data structures needing
protection to catch unsafe access at compile time.
Test: netd_unit_test, netd_integration_test
Bug: 130334320
Change-Id: I847ce518df8626f647e1d80468e4daf4604872f2
Merged-In: I847ce518df8626f647e1d80468e4daf4604872f2
(cherry picked from commit 84d9f9fc08dc8b75ecd0155a955ea93dd3fdccb7)
3 files changed