]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWCoroutine::set_sleeping() checks for null stack 46041/head
authorOr Friedmann <ofriedma@redhat.com>
Tue, 19 Apr 2022 12:00:28 +0000 (12:00 +0000)
committerCasey Bodley <cbodley@redhat.com>
Tue, 26 Apr 2022 16:39:40 +0000 (12:39 -0400)
commitf61d6c6447751ac466ccd98d3f6d8464f62233c2
treee221de9fb1c2630fb9a1ec10cf1b70f72a7db241
parent0b17a6e461cd4e6e0435150fb09e84860feb6289
rgw: RGWCoroutine::set_sleeping() checks for null stack

users of the RGWOmapAppend coroutine don't manage the lifetime of its
underlying coroutine stack, so end up making calls on RGWOmapAppend
after its stack goes away. this null check is a band-aid, and there are
still several other calls in RGWCoroutine that don't check for null
stack

Fixes: https://tracker.ceph.com/issues/49302
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3f0f831d66c7d43c9872f5de2aceb68aef4004d8)
src/rgw/rgw_coroutine.cc