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)
Sun, Aug 9, 5:11 AM
Unknown Object (File)
Sat, Aug 8, 10:57 PM
Unknown Object (File)
Sat, Aug 8, 5:21 AM
Unknown Object (File)
Fri, Aug 7, 11:51 AM
Unknown Object (File)
Thu, Aug 6, 2:42 PM
Unknown Object (File)
Tue, Jul 28, 1:24 PM
Unknown Object (File)
Sat, Jul 25, 6:55 AM
Unknown Object (File)
Sat, Jul 25, 1:24 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59417
Build 56304: arc lint + arc unit

Event Timeline

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

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.