Re: [PATCH] net/macb: fix race with RX interrupt while doing NAPI

2013-02-13 Thread David Miller
From: Nicolas Ferre Date: Tue, 12 Feb 2013 11:08:48 +0100 > When interrupts are disabled, an RX condition can occur but > it is not reported when enabling interrupts again. We need to check > RSR and use napi_reschedule() if condition is met. > > Signed-off-by: Nicolas Ferre Applied. -- To uns

[PATCH] net/macb: fix race with RX interrupt while doing NAPI

2013-02-12 Thread Nicolas Ferre
When interrupts are disabled, an RX condition can occur but it is not reported when enabling interrupts again. We need to check RSR and use napi_reschedule() if condition is met. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 5 + 1 file changed, 5 insertions(+) diff