Page MenuHomeFreeBSD

pf: factor out rule counter update code
ClosedPublic

Authored by kp on Sep 7 2024, 9:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 31, 4:47 PM
Unknown Object (File)
Thu, Aug 27, 1:47 AM
Unknown Object (File)
Aug 9 2026, 5:11 AM
Unknown Object (File)
Aug 8 2026, 10:57 PM
Unknown Object (File)
Aug 8 2026, 5:21 AM
Unknown Object (File)
Aug 7 2026, 11:51 AM
Unknown Object (File)
Aug 6 2026, 2:42 PM
Unknown Object (File)
Jul 28 2026, 1:24 PM

Details

Summary

Break out rule counter update code into a separate function, makes the
behaviour consistent between IPv4 and IPv6.

From martin.pelikan@gmail.com

Obtained from: OpenBSD, mcbride <mcbride@openbsd.org>, ce38da5678
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Sep 7 2024, 9:36 AM
sys/netpfil/pf/pf.c
8859

struct pf_pdesc *pd already contains dir.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 19 2024, 8:22 PM
This revision was automatically updated to reflect the committed changes.