Re: [PATCH] ipv6: fix possible seqlock deadlock inip6_finish_output2

From: David Miller
Date: Sat Nov 30 2013 - 12:49:18 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
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@xxxxxxxxx>
>> Signed-off-by: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
>> ---
>
> Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> (Note that the seqlock is only for 32bit arches)

Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/