From nobody Fri Sep 5 06:08:47 2025 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 4cJ5Wg3kBPz678j7; Fri, 05 Sep 2025 06:08:47 +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 4cJ5Wg36Vzz3s6g; Fri, 05 Sep 2025 06:08:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757052527; 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=wpa7CWiso/5aIA/T0EG/SoUafYM7BhZQEKjB4FUvJN8=; b=FkmS+i/9Nbo3knZibXjn4KgkTxS19GlSre9wC5qvd672yV7DVFICVsS+C+hNAAqweTV4Qf WYqH9N/+rGdmDPVlnpCYAUnWr6f7gghOmR8dxqXNWpgmLTaCA8eI3V76zfLp3UfxyJ2Erb cPZLLyOgjNXVJw5ul6gn7b/jQCZB4qVuC5A5QXnr0ZlRrsBf5Jv4W86nfRUmMwkTEQEkYN iGqEcLTFlkSpa/iBuCLQ4AGcCdVdYegQ/zIPpdWYl8P5WVXk6xWYhxJ3dcHOghLmNU2Iy7 TlBtMXjaGXhgj9tX36kD0RywuIXg+uPOzHm8jgcpHIX2HupD9DDF2+gHW05+3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757052527; 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=wpa7CWiso/5aIA/T0EG/SoUafYM7BhZQEKjB4FUvJN8=; b=g/BnYitCfRYKw5jtfQJHbGq1QTBOer7kXT3VKJ3CEBr6kjqOTGDM8Rm/c5kJqoyTNhZLdy 6ziHF8qwvQJXbf39eRIKNvltndwJf3prsZ3QAwZWa5jXhQvEtzGQfymdNLrEeWkCmCikkB nhffYmCiVAgc256CAYqhGKVsd74bg2l0RN0icxDfNQAZhuJo84e+p+eAIDMxrbnMWwRgyC lhwcD7Y7hOKYsLLLcZ/sDV/Em4GcSoN2LFLKvkpgqXOcw05zpUpm6BN7ztWFleBElo/xo3 63jhUFKIJOtqunl8UwSQ1gMMqAR1K3hx2uAH8sVzs90Uu8ii2TiXulCJk5IJtg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757052527; a=rsa-sha256; cv=none; b=YqEPY2A+G8/6gphjvxUDcDNcTLNi6DuW/JbSeYKsIyWViGoMaULxM1EyBcjDGD2XyNwJJm Gs/jI+5iIE42mdP8gNf0u2yrgo209lBI2x2bIW9OHFBaV9p5lagLIxxbRXlRFP/L8+NEzo eIX3fMnSwbN64Xms1akSqBP6rXC+nTQrwNPbSfiVkWLQuYpjDoNIIR7UaAWDMs2gMAVR3e tjXv4dyYNc4oaN5WsdIaAin+hN5MYPBR7baBbTAFtEU4WOMhWcd2HWB+9nyVmmO5H14M0r okqlOpxA2ZWrqBfn7mCNn83nzRkKVfX9fWb5R/UXsR0zqca51CZ654suzzEk9g== 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 4cJ5Wg2hKRzckX; Fri, 05 Sep 2025 06:08:47 +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 58568lD0072177; Fri, 5 Sep 2025 06:08:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58568lvk072174; Fri, 5 Sep 2025 06:08:47 GMT (envelope-from git) Date: Fri, 5 Sep 2025 06:08:47 GMT Message-Id: <202509050608.58568lvk072174@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: d862ce89be67 - stable/14 - tcp: improve compilability 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/stable/14 X-Git-Reftype: branch X-Git-Commit: d862ce89be67c21f25aede1a32c2d70a409ab4df Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=d862ce89be67c21f25aede1a32c2d70a409ab4df commit d862ce89be67c21f25aede1a32c2d70a409ab4df Author: Michael Tuexen AuthorDate: 2025-09-05 06:00:52 +0000 Commit: Michael Tuexen CommitDate: 2025-09-05 06:08:33 +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 3c62d3b07f99..5219f0be3f7e 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