Page MenuHomeFreeBSD

pf: factor out rule counter update code
ClosedPublic

Authored by kp on Sat, Sep 7, 9:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 20, 12:12 AM
Unknown Object (File)
Mon, Sep 16, 3:15 PM
Unknown Object (File)
Sun, Sep 15, 5:57 PM
Unknown Object (File)
Wed, Sep 11, 10:56 PM
Unknown Object (File)
Wed, Sep 11, 8:24 AM
Unknown Object (File)
Wed, Sep 11, 5:51 AM
Unknown Object (File)
Sat, Sep 7, 7:17 PM
Unknown Object (File)
Sat, Sep 7, 5:26 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.Sat, Sep 7, 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.Thu, Sep 19, 8:22 PM
This revision was automatically updated to reflect the committed changes.