diff options
| author | Herbert Xu <[email protected]> | 2010-02-15 20:00:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-02-16 22:53:24 +0000 |
| commit | 553f9118abc4fc53674fff87f6fe5fa3f56a41ed (patch) | |
| tree | 8b6fcbbfc3709915cc733aa48a49f95d9f930e89 /lib/debugobjects.c | |
| parent | ipcomp: Avoid duplicate calls to ipcomp_destroy (diff) | |
| download | kernel-553f9118abc4fc53674fff87f6fe5fa3f56a41ed.tar.gz kernel-553f9118abc4fc53674fff87f6fe5fa3f56a41ed.zip | |
xfrm: Fix xfrm_state_clone leak
xfrm_state_clone calls kfree instead of xfrm_state_put to free
a failed state. Depending on the state of the failed state, it
can cause leaks to things like module references.
All states should be freed by xfrm_state_put past the point of
xfrm_init_state.
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
