Article View: linux.kernel.netdev
Article #20223Re: [PATCH net] net: lib8390: avoid truncating the expected receive page
From: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 21:10
Date: Sat, 21 Nov 2026 21:10
29 lines
8880 bytes
8880 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 17 Nov 2026 21:22:17 -0500 you wrote:
> For a receive ring ending at page 0xff, the expected next page can
> exceed 0xff before the ring size is subtracted. The value is
> truncated when stored in an unsigned char, so a valid frame that
> wraps around the ring can be rejected and queued frames dropped.
> Store the intermediate value in an int.
>
> This was observed with the 64 KiB receive ring enabled on a
> Farallon EtherMac LC-TP. With the fix, three 16 MiB downloads on a
> Performa 6200CD using a kernel with local platform support completed
> without receive errors. The pcnet_cs driver also uses a receive ring
> ending at page 0xff for Socket EA cards with the large buffer enabled.
>
> [...]
Here is the summary with links:
- [net] net: lib8390: avoid truncating the expected receive page
https://git.kernel.org/netdev/net-next/c/720a6f58c0ba
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179529540503.1173579.951432100954985281.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368451-linux-kernel-netdev=dewy.ruReferences:
<20261118022217.84500-1-me@timdoug.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368451-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: lib8390: avoid truncating the expected receive page Date: Sat, 21 Nov 2026 21:10:05 +0000 Organization: Usenet Network Message-ID: <179529540503.1173579.951432100954985281.git-patchwork-notify@kernel.org> References: <20261118022217.84500-1-me@timdoug.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3494829"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:WQrgm8eEvEgo+8jAUJ7Lt9/Joy4= sha256:h+5gFadr5vc/I+eevrWmjWinCIJkwXMC9RQyTsrwlBU= sha1:2lf0V2HBkF8V20bJ41HLoO50ezg= sha256:Xl3d9RLm2YFxPHjrcxJEMFUu4YJ71l2VfChyx4i+NsI= 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 75091115BEB; Sun, 22 Nov 2026 00:10:35 +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 Hz7Q9JEB7rvh; Sun, 22 Nov 2026 00:10:31 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-368451-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 A06AA114022; Sun, 22 Nov 2026 00:10:18 +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 5B33F25E5C; Sat, 21 Nov 2026 21:10:15 +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=1795295412; b=e4c4xjsPLc5WxMf1NpCV+6E9EB/6JNvVOaibPoa7Q7EcBqr9rcKxP1ZChXNkMOVkwQvb RrzYp6knLInFS0JxVwQnM6aYclPxo3ODYhYF7+31TTWxsbgUzFFAu83ZCx2ap7eOqulIM XyNLt/cqOld0ZA86p4FigHZICn4bBVnsSrCtb66z+CYO43wfIUh5cfzLDFQ8wW9xV/1nP AMVJXSsOh4QN5gsAPLkAYCCMzLfsw1L2sNlzeYv55EfDjDbHJW510xDRS+mKykGfPY5j/ W8vWo3nqlqsbfl9NU88PcTm46ybtM8R5A2qY9Kl6H9pff7Av56cxUJL0buA3PrZ/JOQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795295412; 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=pfr8GT494AuNnsOrr7hIjt+NMCLaWo0vXBfbnkx/mtc=; b=eXIJVMQRLvv/BQWTORMhxGWLN55sawQ9WhxaZPWzvK2+P+FMkI3KpOhPDC2NBazlpRNi XkgxbcXfjKbRid1wfEdFfSrfyH1u5EAUsSSrJbTqT4XCbiYxvHM2kktttYUJ6N1XX1rWQ WwWLdts3abjRQAMliSyA7/+ucrKno+y16q6GeaoPuLbA9TieV+NQdZN8XtMdXFlRHgcQ8 p80moPmdXSvGJj2OWvfCoAMN8O6f+VnPgaYK5hAaNAGwnfFHgjjLka+ADwJ6L3pZFJHs2 OHwpc+BKSSRLQmf2rCvbgx7Ys5H0m0CeohJuzTZgJFwP9gGg4yuqDeYtCQljhuLXiNg== 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=ORptBL9J; 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 4D887606A330; Sat, 21 Nov 2026 21:10: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=ORptBL9J 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=1795295406; b=t6cdz+vPyzDBHT8D71bZu8nKC3PodpSxHTq3Wciq0zIr9GXDcmA3jRA/bsO8u5+7+P3J O9dSL2HGw20aZK0ZEjnmakTCp4CpafS8H0npS71vngNEuw9Uh4QnF6XhK83y20twAvD9c Hj4iT+LM9Z7yUmVaop0Ze+dxUoG8yBtyXUaf+W/C3yPi7g8L6Lksx92sb8uTeWRTvTIN9 eFNfdC2OAaGbS7dMSqJlhRXVW56vl7JLOf4wNemuInkwETchePBjGx3nPKsx4TuWNuefg A/6lea9KYyzVt3YCMA2rjys1KgyuUSsSQHVSPqReLCutsWa0iB1skYJv6oZq6NJ7hlw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795295406; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=pfr8GT494AuNnsOrr7hIjt+NMCLaWo0vXBfbnkx/mtc=; b=1McACarorMwykJtCBSuPH5UZmys4HVK47SB1I0MgNuxhOdJE+cglI7CG6GcZc+0tuirR 8hBp+GnkDGwb6nD7wARmwBnGPG2puE/JsiKyYXZ22Uwt9FIqWqzoC9zOdHXYDupRTShD5 Ya85SUIYlK/l//tp8nk2mkoTi36xEWFsOpDE1MTD+Obc2fx/wi0iHpucoBs6/gtCzwDU3 J3SPS56IgnL6Ij94K4FEhKU+t3MSrIQ4cZ0AzNLW7GBAADXGVkdciomsSb4tJsaw4LbNw 0AIjbwTvQdjrEJ62zrfFj+8gYw5CKrXDNesb2hpxO7Noe99dJqQFAd7KXCeurbkNl6Q== 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=ORptBL9J; 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 68843606A320; Sat, 21 Nov 2026 21:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42AE01F000C0; Sat, 21 Nov 2026 21:10:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795295406; bh=pfr8GT494AuNnsOrr7hIjt+NMCLaWo0vXBfbnkx/mtc=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ORptBL9JKPPjTLUVPbOdVpOdR0aXTk5eoKBDFAW0h1ugNxkZfuZsVw5lPfp+6zBMe xfEPbKzqN0y6shY96pQkaK1mQrTICfyv2TDv06raCqaphjovXIO5cm8q/fQERtT94C V7jSvecgKQS5Z3k9bM+dBz7xX8gm1CjDwK432DxLnxfhq4EIAOUcok1hwZcjCR4jI6 nWxyXefS224dHm4YCGBR33xS+GLYmhZuiuLVZ/XBQg86Pd4F72fDZ2XbVRxy3Tk/Yi Lk99SRs38w+2WaKtNZdZ2gMILpKV/opNIdaMH75ue1nIiBKDdG58Ku0k3qebjCkBgh 6/5AFRCfctBJw== 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 3A425391B072; Sat, 21 Nov 2026 21:10: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: <20261118022217.84500-1-me@timdoug.com> X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org