[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D2A0BF.2090901@lwfinger.net>
Date: Tue, 31 Mar 2009 18:01:19 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Oliver Neukum <oliver@...kum.org>
CC: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2 V2] kaweth: Fix locking to be SMP-safe
Oliver Neukum wrote:
> Am Dienstag 31 März 2009 20:45:49 schrieb Larry Finger:
>> On an SMP system, the following message is printed. The patch below gets
>> fixes the problem.
>
> Are you sure it is never called with disabled interrupts?
I think not, but all I really know is that the change from spin_lock() to
spin_lock_irq() makes the errors go away.
I checked a number of drivers to see what their ndo_start_xmit routines do. Most
use spin_lock_irq(), but some do no locking.
I tried removing the locking, but that resulted in a stall even when I bypassed
the faulty router.
Larry
--
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