]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: move ms_handle_accept into the replacing gate
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 25 Nov 2022 01:54:56 +0000 (09:54 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 8 Feb 2023 06:07:41 +0000 (14:07 +0800)
commita6ecc0658472695aab5075b733a90ddf924fdeb8
tree9beb5bc63ca005296600526959058efe0cbc40ad
parentc8d5a14c2248081319808550643ea6ef03a954f6
crimson/net: move ms_handle_accept into the replacing gate

To prevent others to close the connection before the gate, and causing
abort without proper closing the moving socket.

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