[IPSEC]: Fix potential dst leak in xfrm_lookup
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 11 Dec 2007 12:38:08 +0000 (04:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Dec 2007 12:38:08 +0000 (04:38 -0800)
If we get an error during the actual policy lookup we don't free the
original dst while the caller expects us to always free the original
dst in case of error.

This patch fixes that.

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

No differences found