Herbert Xu 21380b81ef [XFRM]: Eliminate refcounting confusion by creating __xfrm_state_put().
We often just do an atomic_dec(&x->refcnt) on an xfrm_state object
because we know there is more than 1 reference remaining and thus
we can elide the heavier xfrm_state_put() call.

Do this behind an inline function called __xfrm_state_put() so that is
more obvious and also to allow us to more cleanly add refcount
debugging later.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-02-23 16:10:53 -08:00
..
2006-02-13 15:34:11 -08:00
2006-01-12 14:06:39 -08:00
2006-01-07 12:57:28 -08:00
2006-01-03 13:10:31 -08:00
2006-01-07 12:57:31 -08:00
2006-01-09 14:16:05 -08:00
2006-01-03 16:03:49 -08:00