[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51125F28.4000409@intel.com>
Date: Wed, 06 Feb 2013 05:48:24 -0800
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
To: Frank Li <lznuaa@...il.com>
CC: Jim Baxter <jim_baxter@...tor.com>, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] net: fec: fix miss init spinlock
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists