[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F040A6F.2000002@oracle.com>
Date: Wed, 04 Jan 2012 00:14:39 -0800
From: Maxim Uvarov <maxim.uvarov@...cle.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH] bond_alb: do not disable BH under netpoll
On 03.01.2012 18:49, David Miller wrote:
> From: Maxim Uvarov<maxim.uvarov@...cle.com>
> Date: Tue, 3 Jan 2012 18:20:18 -0800
>
>> Do not disable BH if interrupts are already disabled
>> (netpoll case).
>> Signed-off-by: Maxim Uvarov<maxim.uvarov@...cle.com>
> Barf...
>
> We should never use conditional locking like this.
How about change spin_lock_bh to spin_lock_irqsave at this place?
Maxim.
--
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