diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-01-10 22:06:32 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-01-23 20:25:39 -0800 |
commit | e0e8f1c8220c43bdf25cfb5622f6ab6947027fb1 (patch) | |
tree | 545e9985c6fc2e9b7e1a9019ce48ce05b848d0d6 /net/ipv6/mcast.c | |
parent | 419dd8378dfa32985672ab7927b4bc827f33b332 (diff) |
[IPSEC] flow: Fix potential memory leak
When old flow cache entries that are not at the head of their chain
trigger a transient security error they get unlinked along with all
the entries preceding them in the chain. The preceding entries are
not freed correctly.
This patch fixes this by simply leaving the entry around. It's based
on a suggestion by Venkat Yekkirala.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
0 files changed, 0 insertions, 0 deletions