Subject: Re: [XFRM]: Fix xfrm_state accounting

From: David Miller <[email-masked]>
Date: Tue, 24 Oct 2006 15:34:22 -0700 (PDT)

From: Patrick McHardy <[email-masked]>
Date: Wed, 25 Oct 2006 00:00:58 +0200

> [XFRM]: Fix xfrm_state accounting
> 
> xfrm_state_num needs to be increased for XFRM_STATE_ACQ states created
> by xfrm_state_find() to prevent the counter from going negative when
> the state is destroyed.
> 
> Signed-off-by: Patrick McHardy <[email-masked]>

Good catch, we've had a few of these lately :-)

Applied, thanks Patrick.