linux/net/xfrm
Herbert Xu 1ecafede83 [IPSEC]: Remove bogus ref count in xfrm_secpath_reject
Constructs of the form

	xfrm_state_hold(x);
	foo(x);
	xfrm_state_put(x);

tend to be broken because foo is either synchronous where this is totally
unnecessary or if foo is asynchronous then the reference count is in the
wrong spot.

In the case of xfrm_secpath_reject, the function is synchronous and therefore
we should just kill the reference count.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:54:59 -07:00
..
Kconfig [PFKEYV2]: CONFIG_NET_KEY_MIGRATE option 2007-02-08 13:15:05 -08:00
Makefile [IPSEC]: Move common output code to xfrm_output 2007-10-10 16:54:53 -07:00
xfrm_algo.c [IPSEC]: Fix warnings with casting int to pointer 2007-05-22 16:12:26 -07:00
xfrm_hash.c [IPSEC]: Don't warn if high-order hash resize fails 2007-05-14 02:19:11 -07:00
xfrm_hash.h [XFRM] STATE: Use destination address for src hash. 2006-10-04 00:31:02 -07:00
xfrm_input.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
xfrm_output.c [IPSEC]: Move RO-specific output code into xfrm6_mode_ro.c 2007-10-10 16:54:56 -07:00
xfrm_policy.c [IPSEC]: Remove bogus ref count in xfrm_secpath_reject 2007-10-10 16:54:59 -07:00
xfrm_state.c [IPSEC]: Unexport xfrm_replay_notify 2007-10-10 16:54:55 -07:00
xfrm_user.c [NETLINK]: Avoid pointer in netlink_run_queue 2007-10-10 16:51:24 -07:00