]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[IPV6] UDP: Possible dst leak in udpv6_sendmsg.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 3 Jun 2008 16:30:25 +0000 (01:30 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:31 +0000 (04:02 +0900)
commita3c960899e042bc1c2b730a2115fa32da7802039
treed12d8270414bc113b0ae5b7ffc0d23096b30e193
parente51171019bb0e1f9fb57c25bd2e38ce652eaea27
[IPV6] UDP: Possible dst leak in udpv6_sendmsg.

ip6_sk_dst_lookup returns held dst entry. It should be released
on all paths beyond this point. Add missed release when up->pending
is set.

Bug report and initial patch by Denis V. Lunev <den@openvz.org>.

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