]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/osd_operations/client_request: Fix client blocklisting 51381/head
authorMatan Breizman <mbreizma@redhat.com>
Sun, 7 May 2023 13:29:22 +0000 (13:29 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 7 May 2023 13:29:22 +0000 (13:29 +0000)
commit9c1531ca404582725bfcb758dd489626fda31454
tree98a1eb0fb8a3576e9e82542fdbfbe2130da03d04
parente87b2e0d60feb70dc644277a84080d009a3700ad
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>
src/crimson/osd/osd_operations/client_request.cc