From nobody Mon Apr 15 04:03:39 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 4VHtnl2Zdnz5Hg2f; Mon, 15 Apr 2024 04:03:39 +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 4VHtnl25Phz4TFh; Mon, 15 Apr 2024 04:03:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713153819; 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=7ZXJ0loHR1fdGbfXh/MrJ9+uZaZ3pV9fRqMwMPwg1es=; b=WNtchfqbvstjtBF29MBKtcg8b/rQQAOkj2/B8H0mY4fNteEJNinHLPlSU0mzZH2Y+n6CEM f1ziIl+3wK/HI3AM1BNiXIP8Yp89mNydmXArymIctiupsqUmwHWH/I+BIV3birtMYCzG8n uLP8XKisT2CK0dJeXfVm2gCGVulvq5+cxq3Fg1ZPIp3aEMGXlM3n7dpK6h1OIK63HIv252 T8jOx0i01LeIV2wBVW2bAw18t5LsnxPmW4A/WtYdxdUO48qDOyZG34/2cHQOZf2vjUj+R3 2sVhgc5vKjsuicq1hu/uT/uU9d1b3MBD2jLWwr7nm4UtMLVVHPHZKsk1h9z74g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713153819; a=rsa-sha256; cv=none; b=gCqSytP8Y5otFPyXwpfrdM9FXrYdOlAxHveaKOdVRmDmARYOoss+//UbQJiPTlZjn9LB81 crmCPBoJ5uoARh4eW59Vboc4gfQEugOvae8YH9+N6fO9lXG8ZAiUjenQDw4pVtT23rYyrG UD8ZpwLKoI0UJW4jhwl+568sWghshMZFH+bGG4FJBd5ZyQLUM1w1JICXIy5Utv2MGeA3En nx8RyZbm3f29KuUzdypN+1BjeXUDJLdS9Cj7g2EePNS2dbshubxgSbeKM4N1cbQV3B7b9e cerm2nvQjDtUGT45CktneoFdsHlxPuHbkt2rM/JiYrC5IfaI5xaKlCjqYQL9RQ== 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=1713153819; 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=7ZXJ0loHR1fdGbfXh/MrJ9+uZaZ3pV9fRqMwMPwg1es=; b=pRVp5SkoqDdi9kbjkzT1isSM/l//eYUFtug2QxEPMTdUGdO9KiAJWEQbzoO7BNODYihDqD C8QOScxBPBUyiDpirD/WeIbIiDDzBHUIcaDCPCL/6Ft3yo03oXSLdiC/7F7AUoyaK06HF9 PQ6j4xEue+9S3rQHb4L9sYuGUJ7qqkQVrgjAS3McVHF/2EiJWtVl5/gamGb794KM0DrnIO cltQfMnKPb2kAKfOSnP3DPMdCre2g33683I8PBOCp1Oupdpc4ih1E8Uz7Sf1uvOzy0HqVU V+BczSdW0UX/493dQadjnJwmBElvhqzkIzW1Qkn2PC21TkrWqV+9RCQ1id/Yzg== 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 4VHtnl1hlbzl2J; Mon, 15 Apr 2024 04:03:39 +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 43F43dqN051873; Mon, 15 Apr 2024 04:03:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43F43dnc051870; Mon, 15 Apr 2024 04:03:39 GMT (envelope-from git) Date: Mon, 15 Apr 2024 04:03:39 GMT Message-Id: <202404150403.43F43dnc051870@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 41e4389a3d0d - stable/13 - debugnet: Fix logging of frame length 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 41e4389a3d0df7c31fbe2c80e2f00219c1b5bd6b Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=41e4389a3d0df7c31fbe2c80e2f00219c1b5bd6b commit 41e4389a3d0df7c31fbe2c80e2f00219c1b5bd6b Author: Zhenlei Huang AuthorDate: 2024-04-08 16:47:06 +0000 Commit: Zhenlei Huang CommitDate: 2024-04-15 04:03:06 +0000 debugnet: Fix logging of frame length MFC after: 1 week (cherry picked from commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c) (cherry picked from commit 800bd7da4c20ff0ad7b24879c03b1add4b583da7) --- sys/net/debugnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c index 30cfb5ab141a..6336b9127cc1 100644 --- a/sys/net/debugnet.c +++ b/sys/net/debugnet.c @@ -534,7 +534,7 @@ debugnet_input_one(struct ifnet *ifp, struct mbuf *m) } if (m->m_len < ETHER_HDR_LEN) { DNETDEBUG_IF(ifp, - "discard frame without leading eth header (len %u pktlen %u)\n", + "discard frame without leading eth header (len %d pktlen %d)\n", m->m_len, m->m_pkthdr.len); goto done; }