From 363c9612c2f286204248a57aafd87c089fdbd83a Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 27 Sep 2004 07:50:11 -0700 Subject: [TCP]: Fix congestion window expansion when using TSO. We only do congestion window expansion on full packet ACKs. We should do it for ACKs of sub-packets of a TSO frame as well. Signed-off-by: David S. Miller --- include/net/tcp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/net/tcp.h b/include/net/tcp.h index eb0f1970a40f..9709d4e7ca4e 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1180,7 +1180,8 @@ struct tcp_skb_cb { __u16 urg_ptr; /* Valid w/URG flags is set. */ __u32 ack_seq; /* Sequence number ACK'd */ - __u32 tso_factor; + __u16 tso_factor; /* If > 1, TSO frame */ + __u16 tso_mss; /* MSS that FACTOR's in terms of*/ }; #define TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0])) -- cgit v1.2.3