(1)Acquire lock in VnUveEntry::ClearInterVnStats to prevent parallel access to
inter_vn_stats_ between kTaskFlowStatsCollector and kTaskDBExclude
(2)Acquire lock in InterfaceUveStatsTable::FipEntry to prevent parallel access to
interface_tree_ between kTaskFlowStatsCollector and kTaskDBExclude
Partial-Bug: #1641833
(cherry picked from commit 006c5e6955305dcfda5c3a3b5687b39d171b13f1)
Reviewed: https:/ /review. opencontrail. org/29499 github. org/Juniper/ contrail- controller/ commit/ 6fd4e4aca8a7735 4fec9b8d6ac6ed2 d0fa3c6f70
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x
commit 6fd4e4aca8a7735 4fec9b8d6ac6ed2 d0fa3c6f70
Author: ashoksingh <email address hidden>
Date: Thu Mar 9 13:50:28 2017 +0530
Add missing locks in Agent UVE code
(1)Acquire lock in VnUveEntry: :ClearInterVnSt ats to prevent parallel access to ollector and kTaskDBExclude tsTable: :FipEntry to prevent parallel access to ollector and kTaskDBExclude
inter_vn_stats_ between kTaskFlowStatsC
(2)Acquire lock in InterfaceUveSta
interface_tree_ between kTaskFlowStatsC
Partial-Bug: #1641833 fda5c3a3b5687b3 9d171b13f1)
(cherry picked from commit 006c5e6955305dc
Change-Id: I750d98105daf5b 86ac4d399901a6c fac7bb97c24