Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193588
b: refs/heads/master
c: 8e82376
h: refs/heads/master
v: v3
  • Loading branch information
Andy Grover authored and David S. Miller committed Mar 17, 2010
1 parent 2600547 commit e3dc49f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b075cfdb666d6fa90c55c8619186398a3c4fd865
refs/heads/master: 8e82376e5f72bb576504c8c6117685e56c1b97db
4 changes: 3 additions & 1 deletion trunk/net/rds/tcp_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ void rds_tcp_write_space(struct sock *sk)
tc->t_last_seen_una = rds_tcp_snd_una(tc);
rds_send_drop_acked(conn, rds_tcp_snd_una(tc), rds_tcp_is_acked);

queue_delayed_work(rds_wq, &conn->c_send_w, 0);
if ((atomic_read(&sk->sk_wmem_alloc) << 1) <= sk->sk_sndbuf)
queue_delayed_work(rds_wq, &conn->c_send_w, 0);

out:
read_unlock(&sk->sk_callback_lock);

Expand Down

0 comments on commit e3dc49f

Please sign in to comment.