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
a0429b5459
commit
a8e8c57443
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302157
@ -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