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.
Reviewed: https:/ /review. opencontrail. org/20109 github. org/Juniper/ contrail- controller/ commit/ 7a1437607ee3fff cefc8ce46b12991 3cd3f9ca68
Committed: http://
Submitter: Zuul
Branch: R2.22.x
commit 7a1437607ee3fff cefc8ce46b12991 3cd3f9ca68
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: I09fbdf9b9ea6c3 1fb6072e7e2f8d4 0510f32dc03
Closes-Bug:1560242