Page MenuHomeFreeBSD

pf: Refactor state killing
ClosedPublic

Authored by kp on Apr 16 2021, 5:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 7, 10:09 PM
Unknown Object (File)
Sun, Sep 6, 2:30 AM
Unknown Object (File)
Sat, Sep 5, 10:58 PM
Unknown Object (File)
Sat, Sep 5, 8:13 PM
Unknown Object (File)
Sat, Sep 5, 5:57 PM
Unknown Object (File)
Sat, Sep 5, 5:57 PM
Unknown Object (File)
Sat, Sep 5, 9:42 AM
Unknown Object (File)
Sat, Sep 5, 3:32 AM

Details

Summary

Extract the state killing code from pfioctl() and rephrase the filtering
conditions for readability.

No functional change intended.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38626
Build 35515: arc lint + arc unit

Event Timeline

kp requested review of this revision.Apr 16 2021, 5:52 PM
eri requested changes to this revision.Apr 16 2021, 7:29 PM
eri added a subscriber: eri.
eri added inline comments.
sys/netpfil/pf/pf_ioctl.c
2513

You should invert the check here to !=

This revision now requires changes to proceed.Apr 16 2021, 7:29 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 20 2021, 11:23 AM
Closed by commit rG586aab9e0aa6: pf: Refactor state killing (authored by kp). · Explain Why
This revision was automatically updated to reflect the committed changes.