From nobody Wed Aug 07 17:45:17 2024 X-Original-To: dev-commits-src-all@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 4WfHdB0psgz5Sxl0; Wed, 07 Aug 2024 17:45:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfHdB00zqz4G7R; Wed, 7 Aug 2024 17:45:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723052718; 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=0jgZt7v4CF3mscd9WUiggIhQrBejNqm4r92YwepsqJQ=; b=bOKG08SZMPqOs4lmnbmhZTQH115SzK39tmn7JC12khfMzBX6Ge68xHvJxy5/LXwT3O1uKl d0LvTSjH8xllMuT4npgj3wDk+QqcPY6ZWOJ6ho3MDG1QXX6JEfGMs3YofZcwfSnS2dM91P whlJvXq1EoQsBnxxny/QkAEPNvRjRf2nc6ZSJ6T4HahhazofVbOmAug3B72+8afumUCs5J EnlqsRhiCOjmvQdeqzDP58Rm7GAeU4PxNeYMCdfx4sfRwdvefwIYMFUbDRDMiNhfO1dOSu 6hX8uLPrcozIBd4zoxl++YbNJsgGSvjTaiBXDc8oyj04POdCI2vcbJma+kMVCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723052718; a=rsa-sha256; cv=none; b=nrYPq9XteNdwZohUrSpjT4kMrbFt0wRxR9TLbGVmtsqBWtclzj0+UE/KI45JJqDVKT6/YS /33eLqgCP1ZCcIqA3RDYnaEwtf9lPdxCPSW9dZ3sextUuIyOTx7Ig0K/wrAe31TxFZJ3/4 M0Yj+xeFxiUnjDXD8VJlf0Z4hGV0GgG8DBg3rRrDyZ7QyyrejwrnXHwrl2tuqs+LVBqWeb 85FCz3BWK/+NkYykBTrdFEoXbN/LbsYilB1HTgJxgovrJT8cGtE5YDU3XHiMzQZy2utyOV 4/n+EPxmUyfHXxsZQkGj/H10BjnsK+0TmM45zI0nQjVW+s1FiquqNjF60bKYuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723052718; 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=0jgZt7v4CF3mscd9WUiggIhQrBejNqm4r92YwepsqJQ=; b=gMNfEW1fVRlgaoC6yD4kFh6dhH6OKymTpa1GekepO+UKBUMXDspM2ZidE42YEzVvm946EC ZxaKaCJfnl0zlORZ2TOxZYM4kPowVv+2uAofSXlNtE1BkAEg4vwO5kURpmYM1+1xXZploB yd3gu54RRZAtyzT8kx43eSZgup+8YfPrPdksAYGkoP0qwGM06s6rd0E91Dn8l9wetWh/R8 bfwqPJsc5MO0Z8JPpSdOlObVASQfX45uCZ4CwIeeo1ZHID7onqk6+KQnXJc/4SMS2KP4LZ O1E0ldO2x7g0xBmlvvvppxYWzpx/2CoYZpQcGeaxjE/al7U8FzLGbgdBupE0XQ== 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 4WfHd96kYyz10gh; Wed, 7 Aug 2024 17:45:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 477HjHhC044248; Wed, 7 Aug 2024 17:45:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 477HjHeP044245; Wed, 7 Aug 2024 17:45:17 GMT (envelope-from git) Date: Wed, 7 Aug 2024 17:45:17 GMT Message-Id: <202408071745.477HjHeP044245@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: b3bc746cf3d0 - main - tcp: minor cleanup List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: b3bc746cf3d02e76fc49e9c5677726293ede402f Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=b3bc746cf3d02e76fc49e9c5677726293ede402f commit b3bc746cf3d02e76fc49e9c5677726293ede402f Author: Michael Tuexen AuthorDate: 2024-08-07 17:43:07 +0000 Commit: Michael Tuexen CommitDate: 2024-08-07 17:43:07 +0000 tcp: minor cleanup The vnet component of struct tcp_syncache is only used if VIMAGE is defined. No functional change intended. Reviewed by: cc MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46240 --- sys/netinet/tcp_syncache.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/tcp_syncache.h b/sys/netinet/tcp_syncache.h index 9f3beebf16af..e6485f42c0e4 100644 --- a/sys/netinet/tcp_syncache.h +++ b/sys/netinet/tcp_syncache.h @@ -127,7 +127,9 @@ struct tcp_syncache { u_int cache_limit; u_int rexmt_limit; uint32_t hash_secret; +#ifdef VIMAGE struct vnet *vnet; +#endif struct syncookie_secret secret; struct mtx pause_mtx; struct callout pause_co;