Article View: linux.kernel.netdev
Article #12867Re: [PATCH net 1/2] net: macb: credit unsent frames to BQL in macb_tx_error_task()
From: Nicolai Buchwitz
Date: Sun, 08 Nov 2026 22:14
Date: Sun, 08 Nov 2026 22:14
17 lines
8980 bytes
8980 bytes
On November 8, 2026 10:30:41 PM GMT+01:00, netdev-bot+sashiko@kernel.org wrote: > [...] >[Severity: High] >The commit message describes the problem in general terms: "The frames >dropped on a TX error are never returned to BQL." Does >macb_hresp_error_task() leak in the same way? Yes, same issue but IMHO a different and also pre-existing bug. I can fix this in another patch. > [...]
Technical Details
Message-ID:
<9F62B158-0DCC-4741-9A04-E5CAAB9CD11B@tipi-net.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358883-linux-kernel-netdev=dewy.ruReferences:
<20261107-nb-macb-tx-error-task-net-v1-1-a2aac5d64d52@tipi-net.de> <179417344193.994134.16378845352525630728@kernel.org>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-358883-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 1/2] net: macb: credit unsent frames to BQL in macb_tx_error_task() Date: Sun, 08 Nov 2026 23:14:37 +0100 Organization: Usenet Network Message-ID: <9F62B158-0DCC-4741-9A04-E5CAAB9CD11B@tipi-net.de> References: <20261107-nb-macb-tx-error-task-net-v1-1-a2aac5d64d52@tipi-net.de> <179417344193.994134.16378845352525630728@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="217479"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:aNq6x27054Uh8DybPnsRnSlIlXg= sha256:a/eDz0Nwd88YUA3s4DM0iPUYS6pkAg9QHkLN7SLYz2o= sha1:R9aHjZrx9hbxEo6tUZpwnrI6Ntg= sha256:JOW+2LUMlpDybi1ddn4JXRX8vWAqnnm+J78wP9Qtr2I= 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 57B8011362B; Mon, 9 Nov 2026 01:16:30 +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 c8iY-YxNeoZD; Mon, 9 Nov 2026 01:16:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358883-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 5DAAA1135E6; Mon, 9 Nov 2026 01:16:17 +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 2A2052FACD; Sun, 8 Nov 2026 22:15:07 +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=1794176107; b=fOSXt4jEhatsfy1HT0AeUMhXpNui26vdDxmMuxjLZACt60Mvg5ymCcAmSCfMcjgd3sZk FeGpELba5UR4G8VJeTHTzS+4c1e1QRav8BYvArg2u7iWpKJMhI3KSCDM3rzhRaCjESpNf xcEwxAkZ/d+qTbS1PLftGRA4Ltn/wPudYXZB2PIOYYjT4ml2P3bjc+NOby1xzqGrfblag b/nd2Ik7KWrhD3UOuo4OqtYGDuZwydYGQh9Jh3tJtgJRqsupp+C1VXAkkjBEswvFptkNN eJAQ/WvsK1pQBTlEWv14yGEPAjVFACBc5UJEXipcICA5bzO27pDLpepgihzhEavzCGA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794176107; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Date: From:To:CC:Subject:User-Agent:In-Reply-To:References:Message-ID: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=6HlW3TCaZn9o9E0elHB7OhlF6bCGUREXfflt55QEmic=; b=kj1HJBMfgTyNhTuHvHCCg6ru34Ve1lt8l6HEagBBY8Bw+sM95e7lrojhMLOx+h+6HrW3 5S1C0PqcLXnGR9/NcS+OkNd+yrFeozqv6bSjdCUGi1WHJKvuSuoK94CHW29o26OhN0ihM GmckWYccBgSULUHsPLeLDapCo7YJfKliaE3A7C4xVm8zonVVvCiksXN1XCCx9ZdCV00rB zHwfKRQT4rVrZSivmxU4vrB2IyKbslZGsq7yle99hq0MVmJK/KWbWybuV2H/2hj+1dJBm B+85eZnMc40a5dv3V9aTfwSKGkzPa/jRLhc0sMW4Q9KGKjZ2B+mYp2JrO53Q1PsS0Rg== 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=4sf9o8Kw; 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 EDBBA606A332; Sun, 8 Nov 2026 22:15:06 +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=4sf9o8Kw 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=1794176091; b=NzQjtSvw6Iq1fw88TdtcM9oPCR3979TPBNddfumpVLPj+pYBduWhzH7Ig2foRXqbinxZ ZuaWfi2jwHqriA6a3bmZ0DqzKZXncfWEz0sVJ5DtSW1hbFzNMbCX/pGVyaOYBQxHAvcpd xX4M5mA4qhvbhs1P1zcUINzG/xxN9CNm4yznSt8D4dWL0l3uqbv059QjO4BVJ2kKNe4G4 TUM0Gn68zxFxFPn47s8UwVegVIcLui5BBHUlP8wV4pkFbL4LB+HyFwV6Y8QvZcEPNvIby 6Sh28GxNFZTPiSISFx1tpsQMZWvrA7gkf+lh/UYEdVJRmYz597L3eBI+N7O63tO0q2A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794176091; h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:CC:Subject: User-Agent:In-Reply-To:References:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=6HlW3TCaZn9o9E0elHB7OhlF6bCGUREXfflt55QEmic=; b=2/0sMCr+KoPXkKBHDxIM+OYxxzLJIujoKDwhOn93qKYxu8LXJUNfFTIwsjwuI7fPEL3Z ktfP4+J2w/tGnvxN331LrGcFijTOA9S7xZU0QlFU9bZb1yAwFZN3yZJ4TCUbuJB78zigI LOQdlYbz6LfU0rTdaBUpfUJcrizr/MZKi+lddcnd9pjYTunSoZ+WxuXX7ZzUEMAR/t6jI 5D64+POgMVjQbCJ/hvoDdsYCTfH5mSxNXdLsAk0pxOFtCI4u/rF09yR3eCYlsPHnWap2t Nra4HSRZPY4uotGEx4bRaEt275R+NTH04Uuv3PPe0k8uEdd1G6GOzOhHyarucXg04Lg== 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=4sf9o8Kw; 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) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E5E5606A31C; Sun, 8 Nov 2026 22:14:48 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2E5E5606A31C 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 DCD8FA1651; Sun, 08 Nov 2026 23:14:37 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1794176081; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=6HlW3TCaZn9o9E0elHB7OhlF6bCGUREXfflt55QEmic=; b=4sf9o8KwBP6ebyfUc2HMsNc+xqGEkf+i2THEMu//l222f/IW1FFw4jU8NmqD5DhqrApjLv +5Y0kDfvHANEOODffVpikXuoMYCikcjhAlLFHTXLN3wycR4LmBjPf5sWOMp/pPp4SoDygU XcUJBmdkbtEIJhdjilniIO0g/5maWpERcYchBdjzi10Vnul/kEFljlbGT/BoykAYCudKLZ Z2OELl+Dem8hUS0gniNg/vl7az2hww1AFt46Z98DUEXsXkPG0MZtbXDhZFJJT5dkgaHVC3 k8X/G4/CMDNTUjftwFbf5ugO/6pRBZGlZNGF6eNrT1XXLuKRWWB3kzXv9v7qCQ== X-CC: theo.lebrun@bootlin.com, conor.dooley@microchip.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, sean.anderson@linux.dev, robert.hancock@calian.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-User-Agent: Thunderbird for Android X-In-Reply-To: <179417344193.994134.16378845352525630728@kernel.org> 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-Last-TLS-Session-Version: TLSv1.3