From: Herbert Xu Date: Mon, 15 Feb 2010 20:00:51 +0000 (+0000) Subject: xfrm: Fix xfrm_state_clone leak X-Git-Tag: v2.6.33~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=553f9118abc4fc53674fff87f6fe5fa3f56a41ed;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed