]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: ignore MAuth message when connection has no session
authorSage Weil <sage@newdream.net>
Tue, 10 Nov 2009 05:31:51 +0000 (21:31 -0800)
committerSage Weil <sage@newdream.net>
Tue, 10 Nov 2009 05:31:51 +0000 (21:31 -0800)
commit486d696723374e40469e98b6e0c0b615f508f339
tree45230478dff6cabd4cdc2320237e182307e1c19a
parent79c4d2aa2a6c1c2060812cc06ab9e4b5fd6042b0
mon: ignore MAuth message when connection has no session

This happens if hte message is delayed, and the session meanwhile
is closed.  We need similar checks any time we take a Session
from the message->get_connection()....
src/mon/AuthMonitor.cc
src/mon/MonClient.cc
src/mon/Monitor.cc