git: c624b9a549f0 - main - tcp: fix stats counter for SYN_RCVD state when TCP-FO is used
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Aug 2022 17:07:19 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=c624b9a549f0fe82dd74dc66c9369e5da856b506
commit c624b9a549f0fe82dd74dc66c9369e5da856b506
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-08-28 16:45:59 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-08-28 16:45:59 +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
---
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 df900280e3df..76272179dac6 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -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);
}