]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipv6: fix possible seqlock deadlock in ip6_finish_output2
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Fri, 29 Nov 2013 05:39:44 +0000 (06:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Nov 2013 17:48:13 +0000 (12:48 -0500)
commit7f88c6b23afbd31545c676dea77ba9593a1a14bf
tree632026254bc2ca731676e4327381dbe265153f76
parent696701b89d44c636c800a9b98f4a6a8015a6e1c4
ipv6: fix possible seqlock deadlock in ip6_finish_output2

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c