summaryrefslogtreecommitdiffstats
path: root/kernel/net/rds/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/rds/threads.c')
-rw-r--r--kernel/net/rds/threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/net/rds/threads.c b/kernel/net/rds/threads.c
index dc2402e87..454aa6d23 100644
--- a/kernel/net/rds/threads.c
+++ b/kernel/net/rds/threads.c
@@ -162,7 +162,9 @@ void rds_send_worker(struct work_struct *work)
int ret;
if (rds_conn_state(conn) == RDS_CONN_UP) {
+ clear_bit(RDS_LL_SEND_FULL, &conn->c_flags);
ret = rds_send_xmit(conn);
+ cond_resched();
rdsdebug("conn %p ret %d\n", conn, ret);
switch (ret) {
case -EAGAIN: