From: Sage Weil Date: Tue, 30 Oct 2012 19:49:53 +0000 (-0700) Subject: osd: verify authorizers for heartbeat dispatcher X-Git-Tag: v0.55~130^2~45 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1db4bd9fc7d81e5a7c87f712a718e9f6cdd721d5;p=ceph.git 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 --- diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 7d2acfff3d61..0ef687437149 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)