crimson/net: allow mark_down() inside ms_handle_reset()

Although it is not necessary to mark_down the connection in its
ms_handle_reset() event, but it can be more convenient to allow it.
And Heartbeat already encounters this assertion failure.

So move the assertion to close_clean() which will help identify problems
if we happen to make ms_handle_reset() wait for messenger shutdown.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
Yingxin Cheng 2020-03-13 16:58:31 +08:00
parent 434cdd4666
commit 2092003ca2
2 changed files with 5 additions and 5 deletions