commit | 75b8c133267053c9986a7c8db5131f0e7349e806 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Dec 11 04:38:08 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 11 04:38:08 2007 -0800 |
tree | 264a44a1882196c894f1af84baf7fbba7698678c | |
parent | 3f03e387893ffa07a4d5dac96772f9db3221a185 [diff] |
[IPSEC]: Fix potential dst leak in xfrm_lookup 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>