git: a18afeac4902 - stable/13 - tcp: fix stats counter for SYN_RCVD state when TCP-FO is used
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Feb 2023 23:34:22 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=a18afeac4902f8e50f2ce3ab78705de7e7ae8a59
commit a18afeac4902f8e50f2ce3ab78705de7e7ae8a59
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-08-28 16:45:59 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-02-01 23:33:56 +0000
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
(cherry picked from commit c624b9a549f0fe82dd74dc66c9369e5da856b506)
---
sys/netinet/tcp_syncache.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 54bcf8173c86..2282373a2c1d 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1368,6 +1368,7 @@ syncache_tfo_expand(struct syncache *sc, struct socket **lsop, 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);
}
}