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)
Fri, Nov 8, 1:29 AM
Unknown Object (File)
Thu, Nov 7, 10:21 PM
Unknown Object (File)
Thu, Nov 7, 4:07 PM
Unknown Object (File)
Wed, Nov 6, 7:04 AM
Unknown Object (File)
Fri, Nov 1, 3:35 AM
Unknown Object (File)
Sat, Oct 26, 2:24 PM
Unknown Object (File)
Mon, Oct 21, 11:54 AM
Unknown Object (File)
Sat, Oct 19, 2:56 AM

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.