Subject: Re: [PATCH 4/5] xfrm_state_construct doesn't set tunnel state

From: "David S. Miller" <[email-masked]>
Date: Tue, 13 Jan 2004 23:25:24 -0800

On Tue, 13 Jan 2004 13:24:23 -0800 (PST)
Krishna Kumar <[email-masked]> wrote:

> xfrm_state_construct doesn't set x->km.state to XFRM_STATE_DEAD. This can lead
> to the BUG_TRAP in __xfrm_state_destroy when xfrm_state_put() finds this is
> the last reference. This was reported as one of the symptoms of [Bug 1754]
> some time back.

Smells just like the nearly identical case in ipcomp :-)

Patch applied, thanks.