libceph: drop gratuitous socket close calls in con_work
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:40:04 +0000 (15:40 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:58 +0000 (18:15 -0700)
commit2e8cb10063820af7ed7638e3fd9013eee21266e7
treef871b278cdb099d4fe152366e5e09bbcb65deffd
parenta59b55a602b6c741052d79c1e3643f8440cddd27
libceph: drop gratuitous socket close calls in con_work

If the state is CLOSED or OPENING, we shouldn't have a socket.

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