From 1db4bd9fc7d81e5a7c87f712a718e9f6cdd721d5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 30 Oct 2012 12:49:53 -0700 Subject: [PATCH] osd: verify authorizers for heartbeat dispatcher This was broken with the fixed messenger behavior with missing verify_authorizer methods in 100fcca3cb54c97c4332328aad67d4b796f33ec2. Signed-off-by: Sage Weil --- src/osd/OSD.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 7d2acfff3d61f..0ef6874371499 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -518,6 +518,12 @@ public: return osd->heartbeat_reset(con); } void ms_handle_remote_reset(Connection *con) {} + bool ms_verify_authorizer(Connection *con, int peer_type, + int protocol, bufferlist& authorizer_data, bufferlist& authorizer_reply, + bool& isvalid, CryptoKey& session_key) { + isvalid = true; + return true; + } public: OSD *osd; HeartbeatDispatcher(OSD *o) -- 2.39.5