From nobody Wed Apr 17 14:34:48 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 4VKNj52RRqz5H1sf; Wed, 17 Apr 2024 14:34:49 +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 4VKNj50mq7z4xrS; Wed, 17 Apr 2024 14:34:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713364489; 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=ew6BnP4iryXyO2xjcTmVsDBaHJiVrScJ/13irvt7/tg=; b=QCA11SP1gSsY2my+Bvm8pzX8FcgpGLvIsXoPNaQLSeNePof4Fx85w/1qPEkaSKeaOuBhMy a9pY9ZzJrAIdqWuysE9ZWbQjaQZrFJR8xA0fLZc/fGvSHABmrxbvPZj9dN0Cy1H+CWa6X3 Nv0OLrfFKQJj6Ew5Z2BQJXY52Q1Ud3p4EnqYIAGJ5iRGWbl3GUtBR7pNi0LPDO8MaBYbNg 2JLAO/wFrhGd0Ob8vqCufXpRYv33o/CZ0kjIz0zRxqzB6nGIZddsCPgwgwfE5hFbzy7Wnt hDGFDq8QVkqVT3BwCs50H8bELfRwfvJ6yMFxQY7vmg81eM+xbX2Mh+fbgRn4Nw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713364489; a=rsa-sha256; cv=none; b=xXx0YWEohqez+DHtm2QrLNXFJ4I4nV7nmtg++B3uiPyAo926s+v5uHvJteNSo6i0KHBeL8 AlGCo5KO42LROveJVo1E+hNxtFoWWeaklR1o1PDYkTpNfZfYy5D+ipxvs62BuXRbshyDlc +yoScqTDK09+cFdyYg9n1QvbdwNs9r+3p3bnVryACpCVqhTB6T6PyvDg25/T7MOl3BWMpg HQu29+wj+9fv9yopM45dtiU9I2z3NAZj7wgeWEjaL5apWBgDe7qpHsSBZPeFluBlgQkiBI lblhbFuuitHLoQxAElrb6XgU3UxdEEYy5fnSBxIN+IGT18qiDI37Ifv0adReUg== 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=1713364489; 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=ew6BnP4iryXyO2xjcTmVsDBaHJiVrScJ/13irvt7/tg=; b=tqZtinrLI9UPCn6Mf7Vrdv4kPrtHVFkqL5ZypcM1YDGWMQ0qZ1Rs6my4ygWfyqew2pItHf F8d1vPHH8XlrMexcH26sMd0U7StH+6O9IPbZD6RSYwQZJQwH/yOqL0fIVZjB2mfO+Yg/ui afHSdUp9+IVYfHU6MJ/0sYl32ylNJ0ZQuDzLVTUm1U/GWekerQGNO07DWyJkDxldQfe5wU MHrXJaF7LpEFvM5vgVXfSgg53LZ7OdGa4l8zYhZwHfQKi/OAj7GvQqdVOmAMErRePR2wkd zADjYb61Ld5j5jmG74HIIMcfYaiAqFGep7zOJuQNbQyOTFl7q6Ck5WizRYq3vA== 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 4VKNj46RMqzW26; Wed, 17 Apr 2024 14:34:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43HEYmo2006522; Wed, 17 Apr 2024 14:34:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43HEYmFT006519; Wed, 17 Apr 2024 14:34:48 GMT (envelope-from git) Date: Wed, 17 Apr 2024 14:34:48 GMT Message-Id: <202404171434.43HEYmFT006519@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: ca8e2e4c91cc - stable/14 - tcp: Make tcp_var.h more self-contained 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ca8e2e4c91cc40ce963b9d82531a14beb1a95e5a Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ca8e2e4c91cc40ce963b9d82531a14beb1a95e5a commit ca8e2e4c91cc40ce963b9d82531a14beb1a95e5a Author: Mark Johnston AuthorDate: 2024-04-08 17:37:25 +0000 Commit: Mark Johnston CommitDate: 2024-04-17 14:33:27 +0000 tcp: Make tcp_var.h more self-contained struct tcpcb embeds a struct osd and a struct callout. Rather than forcing all consumers to pull in the same headers, include the headers directly. No functional change intended. Reviewed by: glebius MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44685 (cherry picked from commit 1d14e88e5332cfddbec1893f6b5332f81d378d61) --- sys/netinet/tcp_var.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index b541e3c955d9..1dc40c790b3e 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -88,6 +88,9 @@ #define TCP_EI_BITS_2MS_TIMER 0x400 /* 2 MSL timer expired */ #if defined(_KERNEL) || defined(_WANT_TCPCB) +#include +#include + #include /* TCP segment queue entry */