]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a71471d54fe0e62649620bec2faa5a3cd486ed9
treecc8ade79a548b2373f045e36c2711348119e6460
parent729447fa7b4b782325ef400d75fb313e21cf3102
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