]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix crash killing sessions without conn 2297/head
authorJohn Spray <john.spray@redhat.com>
Thu, 21 Aug 2014 10:51:09 +0000 (11:51 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 21 Aug 2014 22:24:58 +0000 (23:24 +0100)
commit493577bfcf85ed7bdf4876e5528f3c55494ad35c
tree190f93d2ed2a1eb05e2f3054ecb8219284ec1f33
parentdcf8c03794c0cd18d168938045a2b700e4ed414f
mds: fix crash killing sessions without conn

Bug was introduced in 54eca56695  (mds: use Connection::mark_down()).
Used to call SimpleMessenger::mark_down, which had a check for
connection==NULL, when calling conn->mark_down() we must
now do our own nullness check.

Fixes: #9173
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/Server.cc