libceph: allow sock transition from CONNECTING to CLOSED
authorSage Weil <sage@inktank.com>
Wed, 27 Jun 2012 19:31:02 +0000 (12:31 -0700)
committerSage Weil <sage@inktank.com>
Fri, 6 Jul 2012 04:14:39 +0000 (21:14 -0700)
commitfbb85a478f6d4cce6942f1c25c6a68ec5b1e7e7f
treecc8ade79a548b2373f045e36c2711348119e6460
parent735a72ef952d42a256f79ae3e6dc1c17a45c041b
libceph: allow sock transition from CONNECTING to CLOSED

It is possible to close a socket that is in the OPENING state.  For
example, it can happen if ceph_con_close() is called on the con before
the TCP connection is established.  con_work() will come around and shut
down the socket.

Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c