]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Avoid calling ip6_xmit() with NULL sk
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 11 Jan 2006 23:53:04 +0000 (15:53 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 12 Jan 2006 00:32:13 +0000 (16:32 -0800)
commit42bfe6c68aa3080dd0bbf39f858fc95b48ad9166
tree3d4ce288b86cb2845d79c6adec9e254054bb0e02
parentf2b975ea2de98654c8ac896a82ab7fd6d0b88345
[IPV6]: Avoid calling ip6_xmit() with NULL sk

The ip6_xmit() function now assumes that its sk argument is non-NULL,
which isn't currently true when TCPv6 code is sending RST or ACK
packets. This fixes that code to use a socket of its own for sending
such packets, as TCPv4 does. (Thanks Andi for the pointer).

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c