From nobody Fri Sep 5 06:08:07 2025 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 4cJ5Vv2r2Tz678fr; Fri, 05 Sep 2025 06:08:07 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cJ5Vv28jsz3rqq; Fri, 05 Sep 2025 06:08:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757052487; 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=D1MoZlo2pmN2wLgoSkzunaq7I+B7LJSsrG76/vQ+UQs=; b=pf0cjlg1OrqznAm0ByLSpZfd0lWcWyj0W8S71NSKqDEyBqDtx2W63z/AyLVeZDg84gqxl3 YvHkP62SuzjQ5lW1OZ1utxDWl+00K72Le9+0zvPXVuK80RNatVHQ2VdE/00otAExQTSEoL ioKC9v+3RdaExFJ5YuGreRfhqy5GTi+aShtaAH4qOGAoD1CSsv5VYP5d7UZ9yJlV/P5PZv cs1CWowoNAQsOebwcJr22XxJl0VZwSz8BlR1Au+OO3+enJrIgJtpTejEVQtc0VGfz+VlfP jFDTHFrCAqzNYR07ydYHrE96/vThvbnEAYpv+ZfUXN4sKyCEdBh6NfHWAu/aIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757052487; 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=D1MoZlo2pmN2wLgoSkzunaq7I+B7LJSsrG76/vQ+UQs=; b=eKYpfKfwInU1vz/3/p2KDZ/rqzVRKSleUncL7uAg5emwwAeHNaJ8C+TB9YcMnzbR8jDqIF uG/hO6aCoG8E9pPaKT5QZ+VYm2ATPTJgnC2SozDqvCj62KB61wTZBKKwgLua/b3p//txhz YhklJPiP8fhX4/CFD4RYqyFLgM2aYJrsLMNmscId7jQZiTuIR5xZBk1gejlNdd3U6iSdAF j3TEWSZGGlCIUBZ7NhDpgBRojOtyfufxJMhlMKk8C4dz8efuiju7MCP0GM2lkceEYrSWPZ ZpEoJoF7aS3PjdND2nWjJtq8CGNRVXM7bp6WlHZFnS7usnWlpriE2vmrS6XETA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757052487; a=rsa-sha256; cv=none; b=kkALTIjL1q20hH3WKr93R3hTyx76SoFmB76+K+49A4sLtAwdxzu8fddbGuVCdP30TZuUnB yx+3iiP1I2F8HxwFGv1W6m63c0G5A1mXZWXhdFlLTwThYwo2shBcwRunU9HDKNaHqpSXhW 53n9az+13aN/TKx2L7B3sBWKnBcyEOmgDo8+PJpKuE2xW8E6nWZFZbFZciKdVnVSSVKJCN m64hGY6WuxEMe34lTNVGHAkKPnoKmNBkIyDKcJrYBzWYaKMgDTQ8HyVq51B/bhp0tDYCsm 4UkYjSdqbXThOO62G2BTqYIVnffXlj2DYCnUwEgnseFo0HatSSnNHb7aCaQVZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cJ5Vv1lyTzd6r; Fri, 05 Sep 2025 06:08:07 +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 585687xS071922; Fri, 5 Sep 2025 06:08:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 585687fT071919; Fri, 5 Sep 2025 06:08:07 GMT (envelope-from git) Date: Fri, 5 Sep 2025 06:08:07 GMT Message-Id: <202509050608.585687fT071919@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: 9866ce5d5c50 - stable/15 - tcp: improve compilability 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-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/15 X-Git-Reftype: branch X-Git-Commit: 9866ce5d5c500cea1ecf3cb6d575b6f5e655c657 Auto-Submitted: auto-generated The branch stable/15 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=9866ce5d5c500cea1ecf3cb6d575b6f5e655c657 commit 9866ce5d5c500cea1ecf3cb6d575b6f5e655c657 Author: Michael Tuexen AuthorDate: 2025-09-05 06:00:52 +0000 Commit: Michael Tuexen CommitDate: 2025-09-05 06:07:52 +0000 tcp: improve compilability When building with DDB support, the inclusion of in_kdtrace.h is needed. Make this explicit and don't rely on tcp_var.h to do this. This is required for stable/14. Fixes: a62c6b0de48a ("ddb: add optional printing of BBLog entries") Sponsored by: Netflix, Inc. (cherry picked from commit 4cb50d74c19c014e8099272777eb20aaf834d61c) --- sys/netinet/tcp_log_buf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c index e24790ece43d..473c534ef83d 100644 --- a/sys/netinet/tcp_log_buf.c +++ b/sys/netinet/tcp_log_buf.c @@ -61,6 +61,9 @@ #include #include +#ifdef DDB +#include +#endif #include #include #include