From nobody Wed Feb 01 23:34:22 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6dYC2DjQz3cLnW; Wed, 1 Feb 2023 23:34:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6dYC1MG6z3MSs; Wed, 1 Feb 2023 23:34:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675294463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WyKaJkgX0UzIb5pfCyw0suuhld47ZXDsdW2MFPSdNgo=; b=WYYLT7kD+aJo8P4OR5zPSqREDo8HI7GBJRds+2svHZbIP+bSDz4YXVo3Z5ZIK2CNggvdZc 5shoFQEcjIFsUS3GX2zcIN6TXAXRERgC99s7/dJ+c4i0JgDLeXaIro32HbWk1BbGEgK2Vn pTr+kCrw5bgp1lDx92cQ3tva3u6/m2xssxh6e9wLpYcoGgLFuimIb/ehZyLsvUhUZoT6iI 5LpwePaZFL9OdVeJ4B95OBu/XV7d4OuTbyVEDRG7sxcFPckLqCItzhzRZ1Av/xpQkJM1qC dFZ3v6diUMAlIC1CB0ApnudO0LKstVkEmCTuyVEdgiDdM7xKmDmL7SWBkopCOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675294463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WyKaJkgX0UzIb5pfCyw0suuhld47ZXDsdW2MFPSdNgo=; b=XlytZ2PrycVQOd1ciVBA9aNpO+9LXZ3aOFBC2dy1HSynjXKcFjRjnwYu41WqDyanvA5ScK g0gndY1i2nO+XVboq4J3nFSVjMejv8yQLzushCW2+po8dp1uNmoBUQbkqMo9ZbHPtjQsl6 mvAN9anNsHy2YMyyrzZ09OTxJdnN61mVOAOnMY5RWRgl5scyU/INCQwDTc66XyzuKIwdxb V7lz3muzswySbF69jxHr39sjq5W4DpEgeMlnHbgaVQqMDP3c3Ay6pbybSmyDqMm9SOjxPJ i3p+chnaact0dOWM4ATxnJNrwTbMGRt7XbuXKPhTM0fMecJWlvKY84Wa8AdrGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675294463; a=rsa-sha256; cv=none; b=SOS68MQl6fgnJ/NmC1Q+h+fMy9OYOBwHo4JDko6IWkzFyd5ItAfkfjzXAXvsg0z1Bc4kU1 n7YuLVNFZYabzpYdgT4dM5CLNs5DFcxPlUahpAWWFE7xo1PU2mcFlsZEqtFFLsh2g1pvtP WFZzSPhZsUeLL9WW6OjYO/Z7n/uzU86rNuFBXKrqTVwpkE4Fuuz39oTsAHOXi19gTuQS6B yJy6x1e+SeUsHIZNVRx1eIl49gVpWlXGq6ykbb8qzxhV++EiamDFBXbZV9A5kGS39Eq9EH wyR3LiBFM+EaBcQ0RSICzll0SJ7R29mTnzgc4se487ScoK1j4/QP4NVQdAaE/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6dYC0NR3zY7X; Wed, 1 Feb 2023 23:34:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 311NYMa3076194; Wed, 1 Feb 2023 23:34:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311NYMOf076193; Wed, 1 Feb 2023 23:34:22 GMT (envelope-from git) Date: Wed, 1 Feb 2023 23:34:22 GMT Message-Id: <202302012334.311NYMOf076193@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: a18afeac4902 - stable/13 - tcp: fix stats counter for SYN_RCVD state when TCP-FO is used List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a18afeac4902f8e50f2ce3ab78705de7e7ae8a59 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=a18afeac4902f8e50f2ce3ab78705de7e7ae8a59 commit a18afeac4902f8e50f2ce3ab78705de7e7ae8a59 Author: Michael Tuexen AuthorDate: 2022-08-28 16:45:59 +0000 Commit: Michael Tuexen 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); } }