Page MenuHomeFreeBSD

pf: Refactor state killing
ClosedPublic

Authored by kp on Apr 16 2021, 5:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 1:01 AM
Unknown Object (File)
Oct 4 2024, 4:59 AM
Unknown Object (File)
Oct 2 2024, 10:54 PM
Unknown Object (File)
Oct 1 2024, 9:00 AM
Unknown Object (File)
Oct 1 2024, 8:34 AM
Unknown Object (File)
Sep 28 2024, 8:55 AM
Unknown Object (File)
Sep 28 2024, 6:24 AM
Unknown Object (File)
Sep 27 2024, 10:34 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
2553

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.