dect
/
linux-2.6
Archived
13
0
Fork 0

[SUNGEM]: Fix netpoll bug in Sun GEM Ether driver

From: Eric Lemoine <eric.lemoine@gmail.com>

To me the bug is that __LINK_STATE_RX_SCHED can be set while
__netif_rx_schedule() hasen't be called. Why don't fix it in the
simplest way ? See attached patch (absolutely untested).

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Lemoine 2005-09-01 17:41:07 -07:00 committed by David S. Miller
parent 0014c6156f
commit 86d9f7f0c9
1 changed files with 1 additions and 0 deletions

View File

@ -948,6 +948,7 @@ static irqreturn_t gem_interrupt(int irq, void *dev_id, struct pt_regs *regs)
u32 gem_status = readl(gp->regs + GREG_STAT);
if (gem_status == 0) {
netif_poll_enable(dev);
spin_unlock_irqrestore(&gp->lock, flags);
return IRQ_NONE;
}