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

From: Eric Dumazet
Date: Sat Nov 30 2013 - 11:46:32 EST


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)


--
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/