commit ce74bc88a505e2b27898509d25ca952843f77163
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/20107 github. org/Juniper/ contrail- controller/ commit/ ce74bc88a505e2b 27898509d25ca95 2843f77163
Committed: http://
Submitter: Zuul
Branch: R2.20
commit ce74bc88a505e2b 27898509d25ca95 2843f77163
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