mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
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]>