diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-19 16:35:54 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-06 11:43:42 -0800 |
commit | 37d99de39e82f07e550557bfb68cb8e45e6d03fe (patch) | |
tree | d46533a9ecb4c6873f7f667afac5b614bdf54332 /net/unix/sysctl_net_unix.c | |
parent | 596bc9331ee5fa74fda7e276b5a001b789ae644c (diff) |
IPSEC: Fix potential dst leak in xfrm_lookup
[IPSEC]: Fix potential dst leak in xfrm_lookup
[ Upstream commit: 75b8c133267053c9986a7c8db5131f0e7349e806 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions