Comment 16 for bug 1560242

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20109
Committed: http://github.org/Juniper/contrail-controller/commit/7a1437607ee3fffcefc8ce46b129913cd3f9ca68
Submitter: Zuul
Branch: R2.22.x

commit 7a1437607ee3fffcefc8ce46b129913cd3f9ca68
Author: Nipa Kumar <email address hidden>
Date: Tue May 10 16:01:32 2016 -0700

Add mutual exclusion on Agent between xmpp::StateMachine and io::ReaderTask.

TCP close event on a session is handled by xmpp::StateMachine task and
reads handled by io::ReaderTask, hence both tasks can be accessing the
same session at the same time and xmpp::StateMachine destroying the session
while io::ReaderTask reading it.

Change-Id: I09fbdf9b9ea6c31fb6072e7e2f8d40510f32dc03
Closes-Bug:1560242