mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
Merge pull request #38691 from soumyakoduri/lc_fixes
rgw/lc: Fix use-after-free in RGWLC::process
This commit is contained in:
commit
b32153a4ed
@ -1804,11 +1804,11 @@ int RGWLC::process(int index, int max_lock_secs, LCWorker* worker,
|
||||
<< dendl;
|
||||
|
||||
lock->unlock();
|
||||
delete lock;
|
||||
ret = bucket_lc_process(entry.bucket, worker, thread_stop_at(), once);
|
||||
bucket_lc_post(index, max_lock_secs, entry, ret, worker);
|
||||
} while(1 && !once);
|
||||
|
||||
delete lock;
|
||||
return 0;
|
||||
|
||||
exit:
|
||||
|
Loading…
Reference in New Issue
Block a user