]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: don't fail when nothing queued for sweep
authorYingxin Cheng <yingxin.cheng@intel.com>
Sat, 12 Oct 2019 07:39:00 +0000 (15:39 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 16 Oct 2019 01:29:46 +0000 (09:29 +0800)
commit7907ae9bfa077cfd73f83127269955d1c8099602
tree893398ea1a4d144351662c1b8f736f4dc08ea129
parent4dfc00072e67c7bc03b2c3fad894c851aaeee2ab
crimson/net: don't fail when nothing queued for sweep

Fix a corner case when write is dispatching but the queued events are
cleared by a remote reset.

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