[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <41624.10.250.10.1.1175821805.squirrel@webmail.medscape.com>
Date: Fri, 6 Apr 2007 09:10:05 +0800 (PHT)
From: "Antonino A. Daplas" <adaplas@....net>
To: <herbert@...dor.apana.org.au>
Cc: <davem@...emloft.net>, <akpm@...ux-foundation.org>,
<netdev@...r.kernel.org>, <adaplas@....net>, <jgarzik@...ox.com>
Subject: Re: [SC92031]: Fix priv->lock context
> On Thu, Apr 05, 2007 at 09:59:29AM -0700, David Miller wrote:
>>
>> Where is the patch? :-)
>>
>> Second time you've done this in two days Herbert, tsk tsk :)))
>
> The patch was so easy that it was left as an exercise to the reader :)
I did try, but it was too much for me :-)
>
> [SC92031]: Fix priv->lock context
>
> The spin_lock calls made in dev->open and dev->close must disable
> BH since open/close are made in process context. Conversely, the
> call in dev->hard_start_xmit does not need to disable BH since it
> is already executing with BH disabled.
>
Yes, this patch did the trick.
Thanks.
Tony
-
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