properly delay acks in half-closed TCP connections

PR:	24962
Submitted by:	Tony Finch <dot@dotat.at>
MFC after:	2 weeks
This commit is contained in:
Jesper Skriver 2001-05-29 19:51:45 +00:00
parent 80f86e526b
commit 853be1226e
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ do { \
#define TCP_REASS(tp, th, tlenp, m, so, flags) { \
if ((th)->th_seq == (tp)->rcv_nxt && \
LIST_EMPTY(&(tp)->t_segq) && \
(tp)->t_state == TCPS_ESTABLISHED) { \
TCPS_HAVEESTABLISHED((tp)->t_state)) { \
if (DELAY_ACK(tp)) \
callout_reset(tp->tt_delack, tcp_delacktime, \
tcp_timer_delack, tp); \

View File

@ -177,7 +177,7 @@ do { \
#define TCP_REASS(tp, th, tlenp, m, so, flags) { \
if ((th)->th_seq == (tp)->rcv_nxt && \
LIST_EMPTY(&(tp)->t_segq) && \
(tp)->t_state == TCPS_ESTABLISHED) { \
TCPS_HAVEESTABLISHED((tp)->t_state)) { \
if (DELAY_ACK(tp)) \
callout_reset(tp->tt_delack, tcp_delacktime, \
tcp_timer_delack, tp); \