]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Refactor state killing
authorKristof Provost <kp@FreeBSD.org>
Fri, 16 Apr 2021 14:34:21 +0000 (16:34 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 28 Apr 2021 15:06:28 +0000 (17:06 +0200)
commit6210e809da13c80ed560ce0d76c9bf81352b8a1d
tree6765029c9f524336d42ce77028b1a8a2d9c9032d
parent0758fa13b43b2b913856b444a65338afadf5abd1
pf: Refactor state killing

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")
Differential Revision: https://reviews.freebsd.org/D29795

(cherry picked from commit 586aab9e0aa6c811758c19fb03831fc1e7305252)
sys/netpfil/pf/pf_ioctl.c