(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
Reviewed: https:/ /review. opencontrail. org/29472 github. org/Juniper/ contrail- controller/ commit/ 006c5e6955305dc fda5c3a3b5687b3 9d171b13f1
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit 006c5e6955305dc fda5c3a3b5687b3 9d171b13f1
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
Change-Id: I66c0a77fb59479 46e3ac449ea2845 2158e0aac80
Partial-Bug: #1641833