lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 14 May 2022 00:20:12 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Harini Katakam <harini.katakam@...inx.com> Cc: nicolas.ferre@...rochip.com, davem@...emloft.net, claudiu.beznea@...rochip.com, kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, michal.simek@...inx.com, harinikatakamlinux@...il.com, radhey.shyam.pandey@...inx.com Subject: Re: [PATCH v2] net: macb: Increment rx bd head after allocating skb and buffer Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@...nel.org>: On Thu, 12 May 2022 22:49:00 +0530 you wrote: > In gem_rx_refill rx_prepared_head is incremented at the beginning of > the while loop preparing the skb and data buffers. If the skb or data > buffer allocation fails, this BD will be unusable BDs until the head > loops back to the same BD (and obviously buffer allocation succeeds). > In the unlikely event that there's a string of allocation failures, > there will be an equal number of unusable BDs and an inconsistent RX > BD chain. Hence increment the head at the end of the while loop to be > clean. > > [...] Here is the summary with links: - [v2] net: macb: Increment rx bd head after allocating skb and buffer https://git.kernel.org/netdev/net/c/9500acc631db You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists