lkml.org 
[lkml]   [2013]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ipv6: fix possible seqlock deadlock in ip6_finish_output2
From
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Sat, 30 Nov 2013 08:45:55 -0800

> On Fri, 2013-11-29 at 06:39 +0100, Hannes Frederic Sowa wrote:
>> IPv6 stats are 64 bits and thus are protected with a seqlock. By not
>> disabling bottom-half we could deadlock here if we don't disable bh and
>> a softirq reentrantly updates the same mib.
>>
>> Cc: Eric Dumazet <eric.dumazet@gmail.com>
>> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
>> ---
>
> Acked-by: Eric Dumazet <edumazet@google.com>
>
> (Note that the seqlock is only for 32bit arches)

Applied and queued up for -stable, thanks.


\
 
 \ /
  Last update: 2013-11-30 19:21    [W:0.076 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site