Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4146
b: refs/heads/master
c: 908a75c
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 5, 2005
1 parent cbe82c3 commit 83a7090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63d886c96b2a580b1bf764de238ba3c63515b5ee
refs/heads/master: 908a75c17a9e5a888347c2c1d3572203d1b1c7db
3 changes: 3 additions & 0 deletions trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,9 @@ static int tcp_tso_should_defer(struct sock *sk, struct tcp_sock *tp, struct sk_
if (TCP_SKB_CB(skb)->flags & TCPCB_FLAG_FIN)
return 0;

if (tp->ca_state != TCP_CA_Open)
return 0;

in_flight = tcp_packets_in_flight(tp);

BUG_ON(tcp_skb_pcount(skb) <= 1 ||
Expand Down

0 comments on commit 83a7090

Please sign in to comment.