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
..
2011-03-04 12:25:05 -08:00
2011-03-14 17:02:42 -07:00
2011-01-27 14:15:54 -08:00
2011-01-12 19:00:40 -08:00
2011-03-15 18:53:54 -07:00
2011-03-01 22:51:52 -08:00
2011-02-09 22:36:13 -08:00
2011-02-23 14:11:30 -08:00