From: Greg Farnum Date: Wed, 17 Mar 2010 22:42:13 +0000 (-0700) Subject: mon: Pretty sure MDS BEACON messages should only come from MDSes X-Git-Tag: v0.20~247 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=78c4abc7980fb1c46aa808ddf4bd043812a11e86;p=ceph.git mon: Pretty sure MDS BEACON messages should only come from MDSes --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index e33c7d3bf655..e783eef2031d 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -642,6 +642,7 @@ do { \ // MDSs case MSG_MDS_BEACON: case MSG_MDS_OFFLOAD_TARGETS: + ALLOW_MESSAGES_FROM(CEPH_ENTITY_TYPE_MDS); ALLOW_CAPS(PAXOS_MDSMAP, MON_CAP_RW); fill_caps(m); paxos_service[PAXOS_MDSMAP]->dispatch((PaxosServiceMessage*)m);