FDDI: defza: Rate-limit memory allocation errors
Subsystems (3)
Maciej W. Rozycki
maintainerPATCH 1/1 FDDI: defza: Rate-limit memory allocation errors
Prevent the system from becoming unstable or unusable due to a flood of memory allocation error messages under memory pressure.
Signed-off-by Maciej W. Rozycki <[email protected]>
--- drivers/net/fddi/defza.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
linux-defza-ratelimit.diff
drivers/net/fddi/defza.c +3 -2
@@ -767,8 +767,9 @@ static void fza_rx(struct net_device *de fp->rx_dma[i] = dma; }else { fp->stats.rx_dropped++; -pr_notice ("%s: memory squeeze, dropping packet\n" , - fp->name); +pr_notice_ratelimited ( +"%s: memory squeeze, dropping packet\n" , + fp->name); } err_rx:
Quoted 4 lines · Maciej W. Rozycki
Prevent the system from becoming unstable or unusable due to a flood of memory allocation error messages under memory pressure.
Signed-off-by Maciej W. Rozycki <[email protected]>
Reviewed-by Andrew Lunn <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Sun, 29 Mar 2026 13:32:34 +0100 (BST) you wrote:
Prevent the system from becoming unstable or unusable due to a flood of memory allocation error messages under memory pressure.
Signed-off-by Maciej W. Rozycki <[email protected]>--- drivers/net/fddi/defza.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)[...]
Here is the summary with links:
- [net-next] FDDI: defza: Rate-limit memory allocation errors
https://git.kernel.org/netdev/net-next/c/f4ef5b1c1331
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html