Remove extraneous SECPOLICY_LOCK_DESTROY calls that cause the mutex to be
destroyed twice. Submitted by: Roselyn Lee
This commit is contained in:
parent
2f510328e4
commit
1bfe790716
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136041
@ -2053,7 +2053,6 @@ key_spddelete(so, m, mhp)
|
||||
xpl0->sadb_x_policy_id = sp->id;
|
||||
|
||||
sp->state = IPSEC_SPSTATE_DEAD;
|
||||
SECPOLICY_LOCK_DESTROY(sp);
|
||||
KEY_FREESP(&sp);
|
||||
|
||||
{
|
||||
@ -2117,7 +2116,6 @@ key_spddelete2(so, m, mhp)
|
||||
}
|
||||
|
||||
sp->state = IPSEC_SPSTATE_DEAD;
|
||||
SECPOLICY_LOCK_DESTROY(sp);
|
||||
KEY_FREESP(&sp);
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user