Page MenuHomeFreeBSD

pfsync: Ensure uninit is done before pf
ClosedPublic

Authored by kp on Oct 10 2018, 3:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 11:27 AM
Unknown Object (File)
Sat, Jun 22, 11:25 AM
Unknown Object (File)
Dec 20 2023, 7:29 AM
Unknown Object (File)
Nov 12 2023, 4:25 PM
Unknown Object (File)
Aug 2 2023, 6:09 PM
Unknown Object (File)
Jul 15 2023, 10:08 PM
Unknown Object (File)
Jun 13 2023, 11:17 AM
Unknown Object (File)
Apr 11 2023, 6:09 PM
Subscribers

Details

Summary

pfsync touches pf memory (for pf_state and the pfsync callback
pointers), not the other way around. We need to ensure that pfsync is
torn down before pf.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I assume the "other way round" is only true after the function pointers have been virtualised, otherwise not.
And that makes me wonder..

OK, this only makes sense after the callback functions are virtualized; before the above comment did make sense but was expecting a different architechtural solution (whether true or not at the time of writing)

This revision is now accepted and ready to land.Oct 10 2018, 6:50 PM
This revision was automatically updated to reflect the committed changes.