linux_dsm_epyc7002/net/xfrm
Herbert Xu 553f9118ab 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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 14:53:24 -08:00
..
Kconfig ipsec: ipcomp - Merge IPComp implementations 2008-07-25 02:54:40 -07:00
Makefile netns xfrm: per-netns sysctls 2008-11-25 18:00:48 -08:00
xfrm_algo.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-12-01 22:13:38 -08:00
xfrm_hash.c [IPSEC]: kmalloc + memset conversion to kzalloc 2008-01-28 14:55:05 -08:00
xfrm_hash.h Fix xfrm hash collisions by changing __xfrm4_daddr_saddr_hash to hash addresses with addition 2009-08-09 21:45:31 -07:00
xfrm_input.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_ipcomp.c ipcomp: Remove spurious truesize increase 2009-01-11 00:04:11 -08:00
xfrm_output.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_policy.c netns xfrm: deal with dst entries in netns 2010-01-24 22:47:53 -08:00
xfrm_proc.c net: file_operations should be const 2009-09-02 01:03:53 -07:00
xfrm_state.c xfrm: Fix xfrm_state_clone leak 2010-02-16 14:53:24 -08:00
xfrm_sysctl.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
xfrm_user.c netns xfrm: fix "ip xfrm state|policy count" misreport 2010-01-23 23:10:42 -08:00