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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 14 May 2022 00:20:12 +0000
To:     Harini Katakam <>
Subject: Re: [PATCH v2] net: macb: Increment rx bd head after allocating skb and


This patch was applied to netdev/net.git (master)
by Jakub Kicinski <>:

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

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists