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, Dec 9, 2:07 AM
Unknown Object (File)
Nov 20 2024, 9:09 AM
Unknown Object (File)
Nov 8 2024, 1:29 AM
Unknown Object (File)
Nov 7 2024, 10:21 PM
Unknown Object (File)
Nov 7 2024, 4:07 PM
Unknown Object (File)
Nov 6 2024, 7:04 AM
Unknown Object (File)
Nov 1 2024, 3:35 AM
Unknown Object (File)
Oct 26 2024, 2: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 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.