push
travis-ci-com
<a href="https://github.com/noironetworks/aci-containers/commit/<a class=hub.com/noironetworks/aci-containers/commit/faa59478bf8780dd8e1a03b0483d711c591342a8">faa59478b<a href="https://github.com/noironetworks/aci-containers/commit/faa59478bf8780dd8e1a03b0483d711c591342a8">">Fixed deadlock in hostagent Trying to access snatPolicyCacheMutex.RLock again in same goroutine without releasing already acquired snatPolicyCacheMutex.RLock was causing deadlock. This goroutine accessed its first snatPolicyCacheMutex.RLock and then another goroutine stated waiting for snatPolicyCacheMutex.Lock and hence the first goroutine was not able to access the 2nd snatPolicyCacheMutex.RLock which caused the deadlock Avoided the 2nd occurance of snatPolicyCacheMutex.RLock in same goroutine without releasing the 1st read lock. (cherry picked from commit </a><a class="double-link" href="https://github.com/noironetworks/aci-containers/commit/<a class="double-link" href="https://github.com/noironetworks/aci-containers/commit/65e7351d01252b1f561af892bccc538cc7c3e586">65e7351d0</a>">65e7351d0</a><a href="https://github.com/noironetworks/aci-containers/commit/faa59478bf8780dd8e1a03b0483d711c591342a8">)
3 of 3 new or added lines in 2 files covered. (100.0%)
11572 of 20179 relevant lines covered (57.35%)
0.64 hits per line