]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWCoroutine::set_sleeping() checks for null stack 46040/head
authorOr Friedmann <ofriedma@redhat.com>
Tue, 19 Apr 2022 12:00:28 +0000 (12:00 +0000)
committerCasey Bodley <cbodley@redhat.com>
Wed, 15 Jun 2022 12:56:07 +0000 (08:56 -0400)
commit1c6281e531999e62b063cb7cc7630480ab2abebd
tree5b7aef908c8563b94f5ef68c7c2771522349803a
parentc673a842165dd7b9cff75b35e47e67cfd5ce8879
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