]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: ensure 'off' is always set before use
authorKristof Provost <kp@FreeBSD.org>
Thu, 28 Sep 2023 07:04:32 +0000 (09:04 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 29 Sep 2023 22:10:32 +0000 (00:10 +0200)
commitaefda9c92da6571d405e1b27c5c68333ad8bbc57
tree7a56f6d73207a94f2ba644b10941d4a2041d3cea
parente2d3168d1207561df2e1cf0a2a8d13c198e5f8d3
pf: ensure 'off' is always set before use

If we bail out early from pf_test(6)() we still need to clean up/finish
SCTP multihome work, which requires the 'off' value to be set. Set it
early enough.

MFC after: 3 days
Sponsored by: Orange Business Services
sys/netpfil/pf/pf.c