Re: [PATCH] pxa168: close race between napi and irq activation

2014-12-05 Thread David Miller
From: Lino Sanfilippo Date: Sun, 30 Nov 2014 11:49:36 +0100 > In pxa168_eth_open() the irqs are enabled before napi. This opens a tiny time > window in which the irq handler is processed, disables irqs but then is not > able > to schedule the not yet activated napi, leaving irqs disabled forever

[PATCH] pxa168: close race between napi and irq activation

2014-11-30 Thread Lino Sanfilippo
In pxa168_eth_open() the irqs are enabled before napi. This opens a tiny time window in which the irq handler is processed, disables irqs but then is not able to schedule the not yet activated napi, leaving irqs disabled forever (since irqs are reenabled in napi poll function). Fix this race by act