git: b3bc746cf3d0 - main - tcp: minor cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Aug 2024 17:45:17 UTC
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=b3bc746cf3d02e76fc49e9c5677726293ede402f commit b3bc746cf3d02e76fc49e9c5677726293ede402f Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2024-08-07 17:43:07 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> 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;