diff options
| author | David S. Miller <davem@nuts.davemloft.net> | 2004-09-27 07:50:11 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-09-27 07:50:11 -0700 |
| commit | 363c9612c2f286204248a57aafd87c089fdbd83a (patch) | |
| tree | 4d3611773304af3a9ea1e0a6196a6b88aa365a94 /include | |
| parent | e76e875474132757526782cf4b17a19fde457e81 (diff) | |
[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 <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 2 insertions, 1 deletions
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])) |
