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:
parent
80f86e526b
commit
853be1226e
@ -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); \
|
||||
|
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user