HomeFreeBSD

pf: remove pd_refs from pfsync

Description

pf: remove pd_refs from pfsync

It only served to complicate cleanup, and added no value.

While here drop packets in pfsync_defer_tmo() if we don't have a syncif,
rather than just leaving them on the queue.

Reviewed by: markj
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D39248

Details

Provenance
kpAuthored on Mar 24 2023, 6:04 AM
Reviewer
markj
Differential Revision
D39248: pf: remove pd_refs from pfsync
Parents
rG01194da28a21: pfsync: hold b_mtx for callout_stop(pd_tmo)
Branches
Unknown
Tags
Unknown