[IPV6]: Fix ICMP relookup error path dst leak
commitf32c5f2c3866bf4d932d2bc42216dafb90a50ab7
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Apr 2008 07:06:09 +0000 (2 00:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Apr 2008 07:06:09 +0000 (2 00:06 -0700)
treefd2d7da5651b76027977dc35af353a45ca348a45
parenta22eb6faae4ec64d59cc206671eb0bfe46c5ffd2
[IPV6]: Fix ICMP relookup error path dst leak

When we encounter an error while looking up the dst the second
time we need to drop the first dst.  This patch is pretty much
the same as the one for IPv4.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c