]> 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)
commit556b9402d20a727d3c6113a031b198a25c1131d0
treecc8ade79a548b2373f045e36c2711348119e6460
parent97c561e123ec9dfcfd196ffcbdc4f237a8685c45
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