]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/osd_operations/client_request: Fix client blocklisting
authorMatan Breizman <mbreizma@redhat.com>
Sun, 7 May 2023 13:29:22 +0000 (13:29 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 23 May 2023 13:23:22 +0000 (13:23 +0000)
commitdf22ff8208e13a60a29339bcee444235f4fda456
tree7354486351af04f6ca74956f9c0b3781ef7cafac
parent5de22c6b1ec3ced9ebc58f48b7f55d18cb419a1f
crimson/osd/osd_operations/client_request: Fix client blocklisting

See #50835.
In crimson, conn is independently maintained outside Message.
Therefore, when trying to use the message's connection for `get_peer_addr()`
we won't be able to get the peer address.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 9c1531ca404582725bfcb758dd489626fda31454)
src/crimson/osd/osd_operations/client_request.cc