Searched hist:fc6415bcb0f58f03adb910e56d7e1df6368794e0 (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | tcp_output.c | diff fc6415bcb0f58f03adb910e56d7e1df6368794e0 Wed Jul 06 00:17:45 CEST 2005 David S. Miller <davem@davemloft.net> [TCP]: Fix quick-ack decrementing with TSO.
On each packet output, we call tcp_dec_quickack_mode() if the ACK flag is set. It drops tp->ack.quick until it hits zero, at which time we deflate the ATO value.
When doing TSO, we are emitting multiple packets with ACK set, so we should decrement tp->ack.quick that many segments.
Note that, unlike this case, tcp_enter_cwr() should not take the tcp_skb_pcount(skb) into consideration. That function, one time, readjusts tp->snd_cwnd and moves into TCP_CA_CWR state.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/net/ |
H A D | tcp.h | diff fc6415bcb0f58f03adb910e56d7e1df6368794e0 Wed Jul 06 00:17:45 CEST 2005 David S. Miller <davem@davemloft.net> [TCP]: Fix quick-ack decrementing with TSO.
On each packet output, we call tcp_dec_quickack_mode() if the ACK flag is set. It drops tp->ack.quick until it hits zero, at which time we deflate the ATO value.
When doing TSO, we are emitting multiple packets with ACK set, so we should decrement tp->ack.quick that many segments.
Note that, unlike this case, tcp_enter_cwr() should not take the tcp_skb_pcount(skb) into consideration. That function, one time, readjusts tp->snd_cwnd and moves into TCP_CA_CWR state.
Signed-off-by: David S. Miller <davem@davemloft.net>
|