Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kurt Van Dijck
Date: Monday, January 3, 2011 - 9:28 am

On Thu, Dec 23, 2010 at 03:25:07PM +0100, Marc Kleine-Budde wrote:
It seems a threaded irq is the way to go.
During the implementation, a locking issue came up.
Am I right that within a threaded irq handler, I should use spin_lock_bh()
to prevent the ndo_start_xmit() to be called (ie. prevent the softirq).

Kurt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-next-2.6 1/2] can: add driver for Softing card, Kurt Van Dijck, (Thu Dec 23, 2:43 am)
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card, Marc Kleine-Budde, (Thu Dec 23, 7:25 am)
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card, Marc Kleine-Budde, (Fri Dec 24, 4:44 am)
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card, Kurt Van Dijck, (Mon Jan 3, 9:28 am)
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card, Marc Kleine-Budde, (Tue Jan 4, 3:54 am)
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card, Marc Kleine-Budde, (Tue Jan 4, 5:25 am)