From nobody Mon Apr 08 16:48:59 2024 X-Original-To: dev-commits-src-main@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 4VCw641CXKz5HLMp; Mon, 8 Apr 2024 16:49:00 +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 4VCw640k2Fz4N98; Mon, 8 Apr 2024 16:49:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712594940; 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=mAFIdrE8did8x6NRrbqNfe09X3/a5sgyBcEAx6XwBSE=; b=SLEeHrvC6x3KyDOU3RGu32Bix5OFVY6gNnwkJFi8mqycB8yAjRHWBEALtUgNYCguTtmBvH Uak3yMitNV8UwDYxA4lCgJkaGnKeY35YkVQKVraZFMG6d0mtOJmbF5mQEReu790T0NhjQH NFAzqvnTfCSxtNaw7OL6rT0TDT/+eqT0Jwauwyw7kAaba8/z/pQDB86pAVPxxxpLjxJNHX jzouzUvv1bNDiTtkyVPBNHcjiNia5Q76v8pRIXAJzbTpC/rrMff+r2TaZjEz11LqdCz7rh l+BUFhKF9gBGvySeBbFSKOVATLw4kxGqtFd8Qr9l80+97njM4W3Ggn+rI0Yqrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712594940; a=rsa-sha256; cv=none; b=G5SP/y/hQhpTTQWkjv6nAZE4LS1ji/YeTiSPzc31jlnh/3mQlsCaXtoqMDMr9H3fCPgKtF T0y8XluQPYEXqgzA8pPvDVKHyYXtDvOdIAh6t5wIWCA44U7Ehn/i6baGtIgdoWoL64EtqD abOYOQdRW04DQbzFiCeujkrZHRBbrPj6hr1CodUxdMOXDLtgnVffbjs/Jjt6q661IsLSoC kgqj/pyOwBI5sOI3DRzdybfwiEjLLwTBYVerzj9S9CM1VHbjJooRt+r/ij8/j0jlWQ6hPt uAUq/acUht68VE9QTqfTiBVEFlquWHm6Snw6y3Uu/TKtNWNFrWpuvB91Hb/A5Q== 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=1712594940; 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=mAFIdrE8did8x6NRrbqNfe09X3/a5sgyBcEAx6XwBSE=; b=ldPeUdkJ0S68Hw31/4lFcaCnq9z666jeDxQqakaVpcjcGNbeDBLfO2+LpSw02JkF/bDwAE hDS6qlZXveRnP/3cwlBrto9qN39Z8DnGcJKNsQTxXcl7y6BwBSRcRCbhowBqhckVhsAo+7 E+NbuFTWrVIyKVrEP0GeQkY566Te5OaXHD6XMVftxN7tFZe9loGwjWW00591C1QmRswu9B 9CjWl9AVNFfnMQRZCsrHR8AxYTuvW1LRWqHswg7Ti/UyJ4lZhDO/sS4d2BvOVGGRP4qu38 7LRFOrDbxHdKAIDzbagbNEV4urAYL98Y/fspo6A6j4SuVUguSY7gq2BOliRlNg== 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 4VCw640KYDzJn9; Mon, 8 Apr 2024 16:49:00 +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 438GmxZa056487; Mon, 8 Apr 2024 16:48:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 438Gmx6T056484; Mon, 8 Apr 2024 16:48:59 GMT (envelope-from git) Date: Mon, 8 Apr 2024 16:48:59 GMT Message-Id: <202404081648.438Gmx6T056484@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 6fe4d8395bc5 - main - debugnet: Fix logging of frame length List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c Author: Zhenlei Huang AuthorDate: 2024-04-08 16:47:06 +0000 Commit: Zhenlei Huang CommitDate: 2024-04-08 16:47:10 +0000 debugnet: Fix logging of frame length MFC after: 1 week --- 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 c54c1a3904ec..c6f57ec84618 100644 --- a/sys/net/debugnet.c +++ b/sys/net/debugnet.c @@ -566,7 +566,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; }