Comment 7 for bug 1560242

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

Reviewed: https://review.opencontrail.org/20074
Committed: http://github.org/Juniper/contrail-controller/commit/3532c2fbb7f3b127dccf35451389c042a981f167
Submitter: Zuul
Branch: master

commit 3532c2fbb7f3b127dccf35451389c042a981f167
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