Page MenuHomeFreeBSD

pf: Refactor state killing
ClosedPublic

Authored by kp on Apr 16 2021, 5:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 9:42 AM
Unknown Object (File)
Fri, Apr 12, 6:52 PM
Unknown Object (File)
Mar 7 2024, 4:24 PM
Unknown Object (File)
Mar 7 2024, 12:20 AM
Unknown Object (File)
Feb 17 2024, 12:01 AM
Unknown Object (File)
Jan 1 2024, 4:14 PM
Unknown Object (File)
Dec 22 2023, 11:55 PM
Unknown Object (File)
Oct 19 2023, 4:11 PM

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.