mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
b44: Fix wedge when using netconsole.
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 <davem@davemloft.net>
This commit is contained in:
parent
40be261dfd
commit
0cae200eec
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user