tcp: fix stats counter for SYN_RCVD state when TCP-FO is used

Reviewed by:		glebius
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D36384
This commit is contained in:
Michael Tuexen 2022-08-28 18:45:59 +02:00
parent 160a2f2cdd
commit c624b9a549

View File

@ -1361,6 +1361,7 @@ syncache_tfo_expand(struct syncache *sc, struct socket *lso, struct mbuf *m,
tp->snd_max = tp->iss;
tp->snd_nxt = tp->iss;
tp->t_tfo_pending = pending_counter;
TCPSTATES_INC(TCPS_SYN_RECEIVED);
TCPSTAT_INC(tcps_sc_completed);
}