Re: [PATCH v3 net] net: enetc: survive memory pressure without crashing
From: patchwork-bot+netdevbpf
Date: Thu Oct 27 2022 - 14:40:27 EST
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 27 Oct 2022 21:29:25 +0300 you wrote:
> Under memory pressure, enetc_refill_rx_ring() may fail, and when called
> during the enetc_open() -> enetc_setup_rxbdr() procedure, this is not
> checked for.
>
> An extreme case of memory pressure will result in exactly zero buffers
> being allocated for the RX ring, and in such a case it is expected that
> hardware drops all RX packets due to lack of buffers.
>
> [...]
Here is the summary with links:
- [v3,net] net: enetc: survive memory pressure without crashing
https://git.kernel.org/netdev/net/c/84ce1ca3fe9e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html