From: Eric Lemoine Date: Fri, 2 Sep 2005 00:41:07 +0000 (-0700) Subject: [SUNGEM]: Fix netpoll bug in Sun GEM Ether driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=86d9f7f0c9cf06d7d3cfa2a9f0514cf21fa5fda1;p=linux-beck.git [SUNGEM]: Fix netpoll bug in Sun GEM Ether driver From: Eric Lemoine 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 2608e7a3d214..3f67a42e8503 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c @@ -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; }