]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix possible socket refcount problem for ipv6
authorJulian Anastasov <ja@ssi.bg>
Wed, 5 Sep 2012 10:53:18 +0000 (10:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Sep 2012 21:16:25 +0000 (17:16 -0400)
commit66574980e6f35b70d951cb3e2ac72514b0c40dd4
tree7b2dec8e9df0cc92a41e6ac80ed9812486923acb
parent471cd1e46ee5c113010d601654bb556609ca1d4a
tcp: fix possible socket refcount problem for ipv6

commit 5de3557b64d6620ad4af5e177304fbc47949ac58
("tcp: fix possible socket refcount problem") is missing
the IPv6 part. As tcp_release_cb is shared by both protocols
we should hold sock reference for the TCP_MTU_REDUCED_DEFERRED
bit.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c