(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/29497 github. org/Juniper/ contrail- controller/ commit/ 3bde5dda74a7c28 2f7c30bd431c21e a1719fe4e8
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.1
commit 3bde5dda74a7c28 2f7c30bd431c21e a1719fe4e8
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: Iabb51db41d37ac 0a5172412145737 07ef910acb3