🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14768

Re: [PATCH net-next v2] net: dsa: motorcomm: Free the MIB block on port teardown

#14768
From: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 23:20
26 lines
8725 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  9 Nov 2026 22:46:50 +0800 you wrote:
> .setup() can run again within one registration: removing another switch
> from the tree tears the whole tree down, and re-probing sets every
> member switch up again.
> 
> The hardware reset at the start of .setup() brings the MIB counters back
> to zero, but a MIB block kept across that cycle still holds the old
> software buffer, so the next yt921x_mib_read() treats the small value as
> a 32-bit wrap and adds 2^32 to every counter it extends.
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: dsa: motorcomm: Free the MIB block on port teardown
    https://git.kernel.org/netdev/net-next/c/a9a173f81c83

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179443920518.1699546.17528295651329739725.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361360-linux-kernel-netdev=dewy.ru
References: <20261109144705.1737460-1-mmyangfl@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361360-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] net: dsa: motorcomm: Free the MIB block on
 port
 teardown
Date: Wed, 11 Nov 2026 23:20:05 +0000
Organization: Usenet Network
Message-ID: <179443920518.1699546.17528295651329739725.git-patchwork-notify@kernel.org>
References: <20261109144705.1737460-1-mmyangfl@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="965277"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:fhti1FKYSZPweP4gXx0kRoZtBww= sha256:P1oiRsVcfIN7YacCOWAbfTPQgYSksCrZwesgxJFdLPk=
	sha1:XyckJ9UO9OrgIcd3JO2K2ec2aQc= sha256:cGY7hPsxmIZAI+YB74ZIM9WDQihk1CyfmTi8doZTcMw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id BA74A114076; Thu, 12 Nov 2026 02:38:09 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id e_hFq3cnpKkG;
	Thu, 12 Nov 2026 02:38:06 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-361360-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id AE8AADDE13; Thu, 12 Nov 2026 02:37:57 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 17301122682; Wed, 11 Nov 2026 23:20:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794439212;
	b=xM3WnVT6j0EnK8t7Zwb2BaEtxf2F0jR8OyYE4seMxmHScrJ3huhIabBL6pSPcVpbzoEv
	 Wufg0NOYGitn48yKr1rkeksYrUqmEd65JvTP4nhzEpuycI619czU8zCScB7hpA1ZEd0Cy
	 Imq4YsyE+1UFBZSx4W1qzYkNUj8CrvYW09a9LKYNIZiyO6Np2ZR48zfrLdYJ2hh2DMDjz
	 2un1lvJWXPXn8L/y4+8tNmyPPFOe2HdPr165CxqWBadaUFa51ewmiQ0AItl3QARDDRMoj
	 swxMje5QxP4qWODvlepHX7Fuq18wAz6YegZBIp12ry6dtrB6BsGzezocT+jPOkzYkWQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794439212;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=506UW8ffVFFn+fNOAYPgqIsgKBO+hMz+FtRpDH/HaMA=;
	b=dxXQQw3mLMwp1I8wtSmmxvEv5/bW1thbr9LDU4QLiBHR0Kb9yIMjJmc8O8G+okn38V8A
	 qK8wh+YRTRN1b3HGwA7s6OIPu/lgqnSQhSUtKbQa2Lawj7YyBaIXEBWbL7v0RCEU5TGpp
	 mltUTxuBWr4OoLUSBKUH0SX6o8/VB9HJAuneKkELftHiJh0YIqhxgs3KvpeNgQE/KVy3g
	 YIg+Ww+C8zYSGspGsOGkYNcYSxiKo6Fv98cNWjBW4FnKfZ6723uHpfhhkiq2bxSpfbjl6
	 bNwD7Fj1hxAjrZzk0hzntI9MXT6zDQRWmDAUsicSaZQGUtMoktTAIFFTjdb6I9ofOwA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Cl84jhJq;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B824B606A321;
	Wed, 11 Nov 2026 23:20:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Cl84jhJq
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794439206;
	b=O1b0IAXigjfjCWAWVW37ffYLw4b4ZbA/QObo1lXhAUkPFhMpkiX8U/s3e3ipEIb6S3D9
	 2sNhjjDGxk0/Rr+zwM7wq1S2Ge02BN1bSKMaAylKH52TTarFkZEe34sw2Eb9sA7vCxPJQ
	 LFCnanyED3jgPI/nq9OIoxd5DXiBLpw865MqMWcSkHTZzuSXzsWGPCYgmZaln1bhyB96Y
	 rH2XY/d/0DGAwegmejMe+YtQpKL1G61APlQlkQLESSiViJ0KYAa9wIvNaqLE9NrpFsm3h
	 A/DFMzlKNwI8xvSyR28oqkHtcgx0MlBNrgKUI1PAEcAyDVJkz6yfjMH5ZYvSKoHPfUg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794439206;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=506UW8ffVFFn+fNOAYPgqIsgKBO+hMz+FtRpDH/HaMA=;
	b=yPzUqIk2zpUUYbrqdFcBvwiVc/7naUlYGcfo6ibGimdpa4KrvABX01BeYUux8GmZ3++0
	 AurBruHs/OzFouYbkZXLVpqp5IXhRYFurzLAvOArp4aeQRVA1GDbtzB0MJTOMJ5n1p+Eb
	 KEQEnzGHoUkP/06kA5JvJm9yybkxsN3kmWCiwlirvGiJbBg8R/bu52ly0aadtP1ED7K2u
	 Mqq61CRYKBsakLURszrUAQzH+h1tVtSzLUvln07hUNfTuCXTbS/hGRmXkA5QeY/Z6pmc1
	 vywTWBS1UrdGEX5yoQypjm8lOfgSzQjILUNo7pqM/u93WH6sHrf8FMnumMlJlLm6eTQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Cl84jhJq;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1B7F606A31C;
	Wed, 11 Nov 2026 23:20:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 690AC1F00A05;
	Wed, 11 Nov 2026 23:20:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794439206;
	bh=506UW8ffVFFn+fNOAYPgqIsgKBO+hMz+FtRpDH/HaMA=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Cl84jhJqEpSPimzQ1H9hjU38+wRkEO0gROgHtApqa7f9TNGlue70CV0fMUQErQ3Iq
	 cs7UMRfR2AGJcYpHMa2Li7Zgr+ZQddjbqCV4UgIDjz+ohovDLD7FRRRzBBg0XfBsJ/
	 LlOBw1dI+beIRu2ZUHS22sGInHvch7tHPGWD8rnjjQmvR6KgMa7qgmXkyiij6WCFin
	 i6x5Q4fbkV3dXFbH+79DkNVWIkrO71OX/rbuV6fERds6STITVT/g+9cqc6CwTftvge
	 4HK9B6BhrZnFtZr4Az9ysDMGnt4y9/lV+M/Q8xPkWrG4Wh73ah0PeGDGYUA7quCjIb
	 BF5k05wj4e49Q==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 5E0F6391AFC6;
	Wed, 11 Nov 2026 23:20:06 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261109144705.1737460-1-mmyangfl@gmail.com>
X-Cc: netdev@vger.kernel.org, andrew@lunn.ch, olteanv@gmail.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 linux-kernel@vger.kernel.org