kernel_optimize_test/net/xfrm
Steffen Klassert fbd5060875 xfrm: Refcount destination entry on xfrm_lookup
We return a destination entry without refcount if a socket
policy is found in xfrm_lookup. This triggers a warning on
a negative refcount when freeeing this dst entry. So take
a refcount in this case to fix it.

This refcount was forgotten when xfrm changed to cache bundles
instead of policies for outgoing flows.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-16 12:55:36 -07:00
..
Kconfig
Makefile xfrm: Move IPsec replay detection functions to a separate file 2011-03-13 20:22:30 -07:00
xfrm_algo.c xfrm: Pass name as const to xfrm_*_get_byname(). 2011-02-27 23:04:45 -08:00
xfrm_hash.c
xfrm_hash.h xfrm: Const'ify address args to hash helpers. 2011-02-23 23:07:42 -08:00
xfrm_input.c xfrm: Add support for IPsec extended sequence numbers 2011-03-13 20:22:31 -07:00
xfrm_ipcomp.c
xfrm_output.c xfrm: Move IPsec replay detection functions to a separate file 2011-03-13 20:22:30 -07:00
xfrm_policy.c xfrm: Refcount destination entry on xfrm_lookup 2011-03-16 12:55:36 -07:00
xfrm_proc.c
xfrm_replay.c xfrm: Add support for IPsec extended sequence numbers 2011-03-13 20:22:31 -07:00
xfrm_state.c xfrm: Add user interface for esn and big anti-replay windows 2011-03-13 20:22:31 -07:00
xfrm_sysctl.c
xfrm_user.c xfrm: Add user interface for esn and big anti-replay windows 2011-03-13 20:22:31 -07:00