Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78589
b: refs/heads/master
c: bd515c3
h: refs/heads/master
i:
  78587: 2477568
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Jan 28, 2008
1 parent a818dee commit bcd55a4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 255f97b3117cbe10b2493f7f12d66a81dfbcdf43
refs/heads/master: bd515c3e48ececd774eb3128e81b669dbbd32637
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,8 @@ static int tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb)
goto send_now;

/* Defer for less than two clock ticks. */
if (!tp->tso_deferred && ((jiffies<<1)>>1) - (tp->tso_deferred>>1) > 1)
if (tp->tso_deferred &&
((jiffies << 1) >> 1) - (tp->tso_deferred >> 1) > 1)
goto send_now;

in_flight = tcp_packets_in_flight(tp);
Expand Down

0 comments on commit bcd55a4

Please sign in to comment.