Thread (7 messages) 7 messages, 3 authors, 2009-03-31

Re: [PATCH 1/2 V2] kaweth: Fix locking to be SMP-safe

From: Oliver Neukum <oliver@neukum.org>
Date: 2009-03-31 23:03:25
Also in: lkml

Am Mittwoch 01 April 2009 00:10:28 schrieb David Miller:
quoted
Here you enable interrupts. Are you sure ndo_start_xmit is never
called with interrupts disabled?
It must never be invoked that way, this would break so many
drivers.

On the other hand, all of these driver paths never execute
in a real hardware interrupt context, the deepest it gets
into is software interrupts.  So spin_*lock*_bh() might be
more appropriate.
Thanks. The patch is good. I'll check the other USB network
drivers.

	Regards
		Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help