Page MenuHomeFreeBSD

pf: factor out rule counter update code
ClosedPublic

Authored by kp on Sep 7 2024, 9:36 AM.
Tags
None
Referenced Files
F174466286: D46590.id143086.diff
Sat, Oct 3, 11:38 AM
F174465209: D46590.id143178.diff
Sat, Oct 3, 11:29 AM
Unknown Object (File)
Sun, Sep 27, 10:15 PM
Unknown Object (File)
Thu, Sep 24, 12:05 AM
Unknown Object (File)
Sun, Sep 20, 8:22 AM
Unknown Object (File)
Sun, Sep 13, 11:38 PM
Unknown Object (File)
Sat, Sep 12, 1:58 AM
Unknown Object (File)
Wed, Sep 9, 11:04 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.