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.

[PATCH] orinoco: limit message rate

Brice Goglin <Brice.Goglin@ens-lyon.org> reports a printk storm from this
driver. Fix.

Acked-by: David Gibson <hermes@gibson.dropbear.id.au>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
c367c21c 1c59827d

+3 -2
+3 -2
drivers/net/wireless/orinoco.c
··· 578 578 txfid, NULL); 579 579 if (err) { 580 580 netif_start_queue(dev); 581 - printk(KERN_ERR "%s: Error %d transmitting packet\n", 582 - dev->name, err); 581 + if (net_ratelimit()) 582 + printk(KERN_ERR "%s: Error %d transmitting packet\n", 583 + dev->name, err); 583 584 stats->tx_errors++; 584 585 goto fail; 585 586 }