Re: [PATCH 1/7] [IPSEC]: Remove bogus ref count in xfrm_secpath_reject

2007-10-09 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 09 Oct 2007 22:36:31 +0800 > [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 t

[PATCH 1/7] [IPSEC]: Remove bogus ref count in xfrm_secpath_reject

2007-10-09 Thread Herbert Xu
[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