Message ID | CAOi1vP_Xp4ehJKFCfbMB3UiUi2U2vMxqSwTbZ_hF-n5hC6hQ+A@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index a7bfc07d2876..3b3d33ea9ed8 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -2570,6 +2570,7 @@ static int try_write(struct ceph_connection *con) dout("try_write start %p state %lu\n", con, con->state); if (con->state != CON_STATE_PREOPEN && + con->state != CON_STATE_CONNECTING && con->state != CON_STATE_NEGOTIATING && con->state != CON_STATE_OPEN) return 0;