-stable review patch. If anyone has any objections, please let us know.
---------------------
From: Denis V. Lunev <den@openvz.org>
Upstream commit: 9937ded8e44de8865cba1509d24eea9d350cebf0
The result of the ip_route_output is not assigned to skb. This means that
- it is leaked
- possible OOPS below dereferrencing skb->dst
- no ICMP message for this case
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
net/ipv6/ip6_tunnel.c | 1 +
1 file changed, 1 insertion(+)
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -550,6 +550,7 @@ ip4ip6_err(struct sk_buff *skb, struct i
ip_rt_put(rt);
goto out;
}
+ skb2->dst = (struct dst_entry *)rt;
} else {
ip_rt_put(rt);
if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos,
--
--
| Peter Zijlstra | [PATCH 6/6] sched: disabled rt-bandwidth by default |
| Alan Cox | Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops |
| Vegard Nossum | [RFC][PATCH] bitfields API |
| Pallipadi, Venkatesh | RE: 2.6.21-rc6-mm1 |
git: | |
| Jan Holesovsky | [PATCH] RFC: git lazy clone proof-of-concept |
| Junio C Hamano | Re: [PATCH resend] make "git push" update origin and mirrors, "git push --mirror" ... |
| Nicolas Pitre | Re: [PATCH] diff-delta: produce optimal pack data |
| Sam Vilain | [PATCH] git-mergetool: add support for ediff |
| Michael | QEMU /dev/tun issue with tun device number > 3 (more than 4 guests) |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Predrag Punosevac | Re: OpenBSD project goals |
| Nick Guenther | Re: how to clear dmesg outpout |
| Stephen Pierce | SLS |
| C Wayne Huling | Re: Can males come from... |
| Les Andrzejewski | X386/WD90C31/SUMSUNG SYNC MASTER 4 |
| David Willmore | Re: Intel, the Pentium and Linux |
