🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23866

Re: [PATCH net-next v10 7/8] net: bcmgenet: allow the MTU to be changed

#23866
From: Nicolai Buchwitz
Date: Sat, 28 Nov 2026 13:07
15 lines
8975 bytes
On 28.11.2026 12:26, netdev-bot+sashiko@kernel.org wrote:

> [...]

> [Severity: Medium]
> What happens to the RX buffers here if the DMA engine does not halt?

They get freed while the hardware may still write into them. But this is
not new, close, suspend and resume all ignore the teardown result too.
I'm not aware of any bug reports in the field regarding this.

I can fix this in a fllow up series.

> [...]
Technical Details
Message-ID: <7f4cf6c6e06c33c57bfa75042c98b96d@tipi-net.de>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373122-linux-kernel-netdev=dewy.ru
References: <20261127-nb-genet-mtu-nn-v2-v10-7-749c7cc45d97@tipi-net.de> <179586516710.3135.10478962975495152164@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373122-linux-kernel-netdev=dewy.ru
From: nb@tipi-net.de (Nicolai Buchwitz)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v10 7/8] net: bcmgenet: allow the MTU to be
 changed
Date: Sat, 28 Nov 2026 14:07:50 +0100
Organization: Usenet Network
Message-ID: <7f4cf6c6e06c33c57bfa75042c98b96d@tipi-net.de>
References: <20261127-nb-genet-mtu-nn-v2-v10-7-749c7cc45d97@tipi-net.de>
 <179586516710.3135.10478962975495152164@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="952339"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:9QwHR/jE40J9JojyJawjtL1jsM4= sha256:Iiv95TujQJZr/HEYRj+6z9vlxaBmEFdsl+vx9Vi0g54=
	sha1:p8hRHgyl9e06Ca19gLylChC4Gs8= sha256:0XXACDANCowi8v0MbI1ai2YxuGrasyNiNdEDrUWZM9w=
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 906D0125F7D; Sat, 28 Nov 2026 16:08:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=tipi-net.de
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 q9HNmVsaA83u;
	Sat, 28 Nov 2026 16:08:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-373122-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 5EC3A125F76; Sat, 28 Nov 2026 16:08:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 43B0D25AB7; Sat, 28 Nov 2026 13:08:00 +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=1795871279;
	b=HrCRXR5D38vWphdXHRTxEX0Fy1B2IHPfjT0RwkJohKRGrDkeoDLMEF2iETD9xOMwpKH+
	 VKPY+9ThiRu2rJmiD2/sRQ9uZAkmwZdw9gfaH8n2apesPydYwaQAAy+6EIKJ4QAnkNcKA
	 trrJ+w+gZt2OHbEH7VAhdbaOmTZ9tu2jzfJf3PhQ69yau96CvxaaDNyGVtZ7wc05pb5gL
	 gVyTHinmlUgm43VNFovHMq4NoxI/Q0etvwvmYL49HhIXN9i6vjUTGwvg22foU4gsJ08Rn
	 ZVh7dwStjFEDJSNrQiW/k3Kw8Nr8scL9/WX1QH0iwnKFupsd9/8QsIl6hIvjVCnAjJA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795871279;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc:
	 Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type:
	 Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=MgMdCErDAl9lNyx3ZArtb3lI+zucIqO5QOch/2GPlbY=;
	b=qEqTBd808e0KoZOYZZu1bZ9PM7pvsQlyRVQ4OGv2iaC0gFD09/AdrEFE2twRVyNqwAAX
	 YnXqS7QNjgiSEA8F4hRxiF2GqohaZGNi4xt2B8eu5BcMKTjwYfMofriDK8Qmr6H5rOSdT
	 9JYp+CS1d8oJS8Vw20UvXvPoSUU6F9EirU/Q2WpafZZbAI3v3H7mJxQa1iuvwjLh7U+A6
	 TGyVh9GXyoItCG4QHieRR+MNzUVu3sFl0IDddwtGlkMYc5aMONYXVo/CG7m4OtIDI3fxW
	 jwbqBjGfP+x6xfLKYaALOgd/Q/qOx+zuJAWVdc9erSEy96k9xAX8yvxeahklPZxf9Gw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b="1I477tZ/";
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	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 A69BB606A327;
	Sat, 28 Nov 2026 13:07:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=1I477tZ/
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795871273;
	b=cF69G0pKQuL4gjR0gdxO7wmZb6fFhTDt+FQPJJOJXjq7Cbqq6HAeP5ZNqzl94zP6xDxI
	 8W4gXQP5W+9x7fGDyZEe6lJ9WyYlfboElJl2alJc/mwMhPIwmHqz9qZZMMDlTPJ1ec0jS
	 G/b+bE2h/mD8b3h4598HVuMXzLp5UdHjLk+3/l7piydpy08zir9t0yetSr4i5YAJNUIz4
	 /aAS+JIS+ra4D6ZY48m3/dk6iRBlGHdf2SA5HjyTyk0WH2o5F+pt5SCPh7qmB5iSZ3tQx
	 Wj8NCJ/AFKsOSGllRH1DZ1iIunUWebTRLyXphaCCt80h2niCVmgIUmujSxby5u5L4jQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795871273;
	h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc:
	 Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type:
	 Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=MgMdCErDAl9lNyx3ZArtb3lI+zucIqO5QOch/2GPlbY=;
	b=VJBRV0/28pqVrrrpQ1T066unodhuvsnyy6BdFvGaQN9ygRfWMsOYQXfBJoXks5nUDi+9
	 OTuhtrSbzX7d/n+iK3j27Pp0ZK0294H8QDwQ89BDxaCfhRmojCs+kFkm3IRUF19sEp4CV
	 as0zSA6uNR1ofdMND198T0+lRzopIHWVwM1TAiTTmWT9H8LmuafsABCBj+IrEGCvQ2u1C
	 T0Ref0rihpApYJnVM70L+o3f+sJ+nNf35+0hLRhKVRas5zCZKUT6FamQEXFzos+Zswne3
	 JhSAWbnRtrymbostGGB1dEM0I0c1EGECFJr+LACQ0F2POu+4Ve0Q63BmgnyKbUxs8gg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b="1I477tZ/";
	arc=none smtp.remote-ip=194.13.80.246
X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246])
	(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 588B1606A31C;
	Sat, 28 Nov 2026 13:07:53 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 588B1606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5D963A0E36;
	Sat, 28 Nov 2026 14:07:50 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim;
	t=1795871271; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:in-reply-to:references;
	bh=MgMdCErDAl9lNyx3ZArtb3lI+zucIqO5QOch/2GPlbY=;
	b=1I477tZ/fI/TN4Z3BClLIGq3rOVIHBtCPd9i+MNTLHouDQov+ESneeStBQozBji8MCFrMm
	exPAIoql1I9XsDJaA+RAJ+PpIJpKm0lHbI8Zr9XuzicAv4BqZxb94WYRLiOL899wkAcxfU
	Rdw8JixW9WVNGPFoidm/6g6An96wP1SLerwhHQg7ayqkgZHiudd08yLrCUqHC5kxUD5IMl
	H5b8K57Z4D30KX0afbUGdYCih69FCAcQWvR7KaO1UWYVD0ZzbG4WT+X2Ak+tE6gOjRi260
	HEatwyW7U7Il3ouUzps0Yf3H41kHVLaBSegmyV+L1aFMaW1od0f3PxfIY36wDg==
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-Cc: opendmb@gmail.com, florian.fainelli@broadcom.com,
 bcm-kernel-feedback-list@broadcom.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, f.fainelli@gmail.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, pierremarinleclercq88@gmail.com,
 dave.stevenson@raspberrypi.com, justin.chen@broadcom.com
X-In-Reply-To: <179586516710.3135.10478962975495152164@kernel.org>
X-Sender: nb@tipi-net.de
X-Last-TLS-Session-Version: TLSv1.3