Subject: Re: [PATCH 1/1] net: fec: fix miss init spinlock

From: "Waskiewicz Jr, Peter P" <[email-masked]>
Date: Wed, 06 Feb 2013 05:48:24 -0800

On 2/6/2013 1:50 AM, Frank Li wrote:
>
> It is not easy to fix. Need put tx to NAPI poll function.
> I will work on that after China New year holiday

Converting Tx to NAPI is the best solution, but you can put a temporary 
fix in.  Don't take a spin_lock() in fec_enet_tx(), rather take a 
spin_lock_irqsave() since you're still in HARDIRQ context.

-PJ