projects/linux·commit 0cae200e

b44: Fix wedge when using netconsole.

0cae200e · David S. Miller <[email protected]> · 2009-11-30 00:13:28 -08:00

Fixes kernel bugzilla #14691

Due to the way netpoll works, it is perfectly legal to see
NAPI already scheduled when new device events are pending
in b44_interrupt().

So logging a message about it is wrong and in fact harmful.

Based upon a patch by Andreas Mohr.

Signed-off-by: David S. Miller <[email protected]>
Commit
0cae200eec6330cd2c20b24279597be1da50dc93
Parents
40be261d

Changes

1 files changed · +0 −3

FileStatusAddDelContent
drivers/net/b44.cmodified+0−3View file

drivers/net/b44.c

View file
diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index e046943..2a91323 100644
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -912,9 +912,6 @@ static irqreturn_t b44_interrupt(int irq, void *dev_id)
bp->istat = istat;
__b44_disable_ints(bp);
__napi_schedule(&bp->napi);
- } else {
- printk(KERN_ERR PFX "%s: Error, poll already scheduled\n",
- dev->name);
}
irq_ack: