[IPV6]: inet_sk(sk)->cork.opt leak
authorDenis V. Lunev <den@openvz.org>
Wed, 4 Jun 2008 11:49:07 +0000 (15:49 +0400)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:38 +0000 (04:02 +0900)
commit36d926b94a9908937593e5669162305a071b9cc3
treec298f82a8d8b87ab4ebf7b514b394763889108b0
parent49d074f4009a7b5ce9c17b040f978abcb4d7f6f6
[IPV6]: inet_sk(sk)->cork.opt leak

IPv6 UDP sockets wth IPv4 mapped address use udp_sendmsg to send the data
actually. In this case ip_flush_pending_frames should be called instead
of ip6_flush_pending_frames.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/udp.h
net/ipv4/udp.c
net/ipv6/udp.c