]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: drop reference to msg on return 33498/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 23 Feb 2020 23:27:34 +0000 (15:27 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Sun, 23 Feb 2020 23:27:34 +0000 (15:27 -0800)
Caused by backport commit cb48be5a69fe6482cbe3bff1b53ba090e077de0d which
did not account for the explicit drop of the message reference, only in
Nautilus-.

Fixes: https://tracker.ceph.com/issues/44245
Fixes: cb48be5a69fe6482cbe3bff1b53ba090e077de0d
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mgr/DaemonServer.cc

index 7346e1cc3560c5d55a1fe0e1523636275a3271f4..e0da9d03bd544a379c6211f8aa2ca7a111c4e7be 100644 (file)
@@ -443,6 +443,7 @@ bool DaemonServer::handle_open(MMgrOpen *m)
       dout(2) << "ignoring open from " << key << " " << con->get_peer_addr()
               << "; not ready for session (expect reconnect)" << dendl;
       con->mark_down();
+      m->put();
       return true;
     }
   }