]> git.hungrycats.org Git - linux/commit
[XFRM_USER]: xfrm_state_construct() needs to set x->km.state to XFRM_STATE_DEAD.
authorKrishna Kumar <krkumar@us.ibm.com>
Tue, 13 Jan 2004 15:28:33 +0000 (07:28 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Tue, 13 Jan 2004 15:28:33 +0000 (07:28 -0800)
commit83b793786971b92824c27cf3e374c8725158b0bf
tree7b7560172230560e48f7b61bf4a1129393f5fc9c
parent6b00fc1c0b223995891da1bbbfe5ea3e82f258db
[XFRM_USER]: xfrm_state_construct() needs to set x->km.state to XFRM_STATE_DEAD.

Otherwise this can lead to the BUG_TRAP in __xfrm_state_destroy when
xfrm_state_put() finds this is the last reference.
net/xfrm/xfrm_user.c