diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-11 04:38:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-11 04:38:08 -0800 |
commit | 75b8c133267053c9986a7c8db5131f0e7349e806 (patch) | |
tree | 264a44a1882196c894f1af84baf7fbba7698678c /block/compat_ioctl.c | |
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>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions