diff options
author | Sage Weil <sage@inktank.com> | 2012-07-30 18:16:16 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 18:16:16 -0700 |
commit | 8007b8d626b49c34fb146ec16dc639d8b10c862f (patch) | |
tree | 0271899a42c00696a7fefad0bdab0c7f5e74b892 /net/key | |
parent | 09d9032751bfdabcba8752ab4b01a30fedea3d67 (diff) | |
download | op-kernel-dev-8007b8d626b49c34fb146ec16dc639d8b10c862f.zip op-kernel-dev-8007b8d626b49c34fb146ec16dc639d8b10c862f.tar.gz |
libceph: fix handling of immediate socket connect failure
If the connect() call immediately fails such that sock == NULL, we
still need con_close_socket() to reset our socket state to CLOSED.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions