[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110202.205129.71116059.davem@davemloft.net>
Date: Wed, 02 Feb 2011 20:51:29 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH] sfq: deadlock in error path
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 03 Feb 2011 02:51:02 +0100
> Le mercredi 02 février 2011 à 17:19 -0800, Stephen Hemminger a écrit :
>> The change to allow divisor to be a parameter (in 2.6.38-rc1)
>> commit 817fb15dfd988d8dda916ee04fa506f0c466b9d6
>> introduced a possible deadlock caught by sparse.
>>
>> The scheduler tree lock was left locked in the case of an incorrect
>> divisor value. Simplest fix is to move test outside of lock
>> which also solves problem of partial update.
>>
>> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
>
> Oops, thanks Stephen !
>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks.
--
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