From d7250a30b9b843438d720615df0300149c9bf982 Mon Sep 17 00:00:00 2001 From: patiencew Date: Mon, 3 Dec 2007 18:51:41 +0000 Subject: [PATCH] clear SOCK_NOSPACE flag git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2174 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/kernel/ktcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/ceph/kernel/ktcp.c b/trunk/ceph/kernel/ktcp.c index 9b0014a50a1fb..4732c4027650d 100644 --- a/trunk/ceph/kernel/ktcp.c +++ b/trunk/ceph/kernel/ktcp.c @@ -49,6 +49,8 @@ static void ceph_write_space(struct sock *sk) set_bit(WRITEABLE, &con->state); queue_work(send_wq, &con->swork); } + /* Since we have our own write_space, Clear the SOCK_NOSPACE flag */ + clear_bit(SOCK_NOSPACE, &sk->sk_socket->flags); } /* sockets state has change */ -- 2.39.5