Fix mutex errors.
Obtained from: NetBSD r1.4. MFC after: 1 week
This commit is contained in:
parent
d7b78c26dc
commit
7671e3b5b6
@ -3656,7 +3656,6 @@ ipf_state_del(softc, is, why)
|
||||
softs->ipf_state_stats.iss_orphan++;
|
||||
return refs;
|
||||
}
|
||||
MUTEX_EXIT(&is->is_lock);
|
||||
|
||||
fr = is->is_rule;
|
||||
is->is_rule = NULL;
|
||||
@ -3668,6 +3667,7 @@ ipf_state_del(softc, is, why)
|
||||
}
|
||||
|
||||
is->is_ref = 0;
|
||||
MUTEX_EXIT(&is->is_lock);
|
||||
|
||||
if (is->is_tqehead[0] != NULL) {
|
||||
if (ipf_deletetimeoutqueue(is->is_tqehead[0]) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user