]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: check front_msg correctly during sweep
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 5 Jul 2019 10:34:05 +0000 (18:34 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 5 Jul 2019 13:53:39 +0000 (21:53 +0800)
commitf763d496035d2e1276bb0547cd65af37f0732c7d
treeb48b08134f8ae7e20c43db6c018b8581c1dad1ff
parent2d6e77049259daf6521849ab8404b975965fa488
crimson/net: check front_msg correctly during sweep

In order to check whether the front_msg is unchanged, we need to make sure:
* The sent message is not reused;
* The message to be checked is not freed;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Protocol.cc