🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3519

Re: [PATCH net] net: bcmgenet: unshare the skb before writing the control block

#3519
From: patchwork-bot+netdevbpf
Date: Thu, 15 Oct 2026 10:10
24 lines
6461 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 09 Oct 2026 12:10:41 +0200 you wrote:
> bcmgenet stores first_cb, last_cb and bytes_sent in the skb control
> block and reads them back on completion to free the skb and credit BQL.
> ether_setup() leaves IFF_TX_SKB_SHARING set, so the stack can resubmit
> a shared skb that is still in the ring. The next transmit overwrites
> last_cb, so the earlier slots complete without crediting their bytes
> and BQL stalls the queue until the watchdog resets it.
> 
> [...]

Here is the summary with links:
  - [net] net: bcmgenet: unshare the skb before writing the control block
    https://git.kernel.org/netdev/net/c/89771ce4f8f6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179205900502.3330315.1943709997032683206.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346663-linux-kernel-netdev=dewy.ru
References: <20261009-nb-genet-shared-skb-net-v1-1-c6d0a841977d@tipi-net.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346663-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: bcmgenet: unshare the skb before writing the
 control block
Date: Thu, 15 Oct 2026 10:10:05 +0000
Organization: Usenet Network
Message-ID: <179205900502.3330315.1943709997032683206.git-patchwork-notify@kernel.org>
References: <20261009-nb-genet-shared-skb-net-v1-1-c6d0a841977d@tipi-net.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2503233"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:RUjRv4EvhmsKxpkwHw91srlNYSg= sha256:xqf78qnkt18ZzxkBDfVaHy8E9Ggn+aWp+AbN6u1QanM=
	sha1:XT2y+bRCUpQ30fM0lquYmZ/oTns= sha256:7Bfkdiy7NA3nyOYchq0wzCS21mieIX/LdxJxtHHIOro=
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 08D301102AC; Thu, 15 Oct 2026 13:12:17 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.44
X-Spam-Status: No, score=-1.44 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	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 OIO9DvsFza2y;
	Thu, 15 Oct 2026 13:12:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-346663-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 63C621102A9; Thu, 15 Oct 2026 13:12:03 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 6423B6032FE; Thu, 15 Oct 2026 10:10:08 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B88347044B;
	Thu, 15 Oct 2026 10:10:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hpGQE/J4"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CCF048665F;
	Thu, 15 Oct 2026 10:10:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792059007; cv=none; b=ApdMcS1ehelK5xO8yNwSUM2UY8TvOO/tt5P6EodWYiFjI6RkAHrcKPzJD07qsuF+dxJGGL57PaJLXfkUw2P0E9ZqmxNmZLiJFxX2ipQnQEqt1g4yVeg0fR332yE9ex48Iog2sc/uolfLpnPf/ll0mqR9dhwX4g0d9Z6oTFohV3I=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792059007; c=relaxed/simple;
	bh=WRgzYFOArbXaTYEeFNrGeUiCrAn4QQqyStUy/+BzAZY=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=qloPcncIG6V+HlwZgvMajtbBKtQOS4cj7NOmqauQ53OOgd1yjjIZ/s3+uIeKS1crOyKDCGxMLOT20pakmSZpqJydE7P9M2NQxbJXre5tbZxcqfu/7XbWtoMZr+rWvLOeJm9Wglsf8QxTXT1zo5AlxvsaYmEWCo20a/uP9v4glYs=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hpGQE/J4; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44E1D1F000C4;
	Thu, 15 Oct 2026 10:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792059006;
	bh=NCYNP9Fi9prxm0OJnfd1ciz/HhBuDQoqjbyYk3JuOoE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=hpGQE/J4BlXWTO779nvAX1pRfX1xrCbDwDz9tSMxOxX2vp8Me50MBvYneOpCkVx6A
	 i7tkPvte/MTyO4TS9FkZaFZStyvD/5nAn6nQDBMsTEblXOcbmOwxOzWk6H+Be++sJJ
	 4uUHNcsrbGFc9I5IfjPzSC41r5oImsMBy5qkCOvBZc61psIZ8xyjtui5uE09y5mCsS
	 TSyILHdXUz6RMeTXF/zSUCRp2oeUOe2txmKXXRu3JjWcqDmZciQ3yuqi6tvhrduwsp
	 vRGHjvxxTLCnlH1hVWDcqP95d/ufVekaz63SwJi88LyQbldxZGoC2vXW0ufRkcDcay
	 xDBIpaQkA6Skw==
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 3A288392EA50;
	Thu, 15 Oct 2026 10:10:06 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261009-nb-genet-shared-skb-net-v1-1-c6d0a841977d@tipi-net.de>
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,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org