CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2021/06/14 23:06:24

Modified files:
        sys/net        : if_pfsync.c 

Log message:
rework pfsync deferal timeout handling.

instead of having a timeout per deferred packet structure, use a
single timeout in pfsync that pulls items off the list of deferred
packets.

this avoids confusion about whether a timeout is handling the defer
or another context owns it. this way round, the context that removes
a defer from the list owns it and is responsible for completing it.

this should fix a panic we hit on the firewalls at work. there's
still another one that needs a fix, but sashan@ has been looking
at it. this might make it simpler to deal with though.

ok sashan@ jmatthew@

Reply via email to