Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <macro@orcam.me.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/alpine.DEB.2.21.2603291252380.60268@angie.orcam.me.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Maciej W. Rozycki and committed by
Jakub Kicinski
f4ef5b1c 0fb03e70

+3 -2
+3 -2
drivers/net/fddi/defza.c
··· 767 767 fp->rx_dma[i] = dma; 768 768 } else { 769 769 fp->stats.rx_dropped++; 770 - pr_notice("%s: memory squeeze, dropping packet\n", 771 - fp->name); 770 + pr_notice_ratelimited( 771 + "%s: memory squeeze, dropping packet\n", 772 + fp->name); 772 773 } 773 774 774 775 err_rx: