PFSTATE_NOSYNC goes onto state_flags, not sync_state;
this prevents: panic: pfsync_delete_state: unexpected sync state 8 Reviewed by: kp Approved by: re (gjb) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6942
This commit is contained in:
parent
876cb9e018
commit
76dd3320a8
@ -3362,7 +3362,7 @@ pf_clear_states(void)
|
||||
LIST_FOREACH(s, &ih->states, entry) {
|
||||
s->timeout = PFTM_PURGE;
|
||||
/* Don't send out individual delete messages. */
|
||||
s->sync_state = PFSTATE_NOSYNC;
|
||||
s->state_flags |= PFSTATE_NOSYNC;
|
||||
pf_unlink_state(s, PF_ENTER_LOCKED);
|
||||
goto relock;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user