[PATCH] Fix extra dst release when ip_options_echo fails
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 4 Feb 2006 10:29:45 +0000 (02:29 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 6 Feb 2006 23:36:33 +0000 (15:36 -0800)
commit6be20a3ccd442701bc271a5ffca3e0084188831b
tree8461805989c0882b6a41789ea2eea36ccdfbcd51
parent2adb99055eda0cd58de6f21796928026c3a4691d
[PATCH] Fix extra dst release when ip_options_echo fails

When two ip_route_output_key lookups in icmp_send were combined I
forgot to change the error path for ip_options_echo to not drop the
dst reference since it now sits before the dst lookup.  To fix it we
simply jump past the ip_rt_put call.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/icmp.c