HomeFreeBSD

pf: implement adaptive mode

Description

pf: implement adaptive mode

Use atomic counters to ensure that we correctly track the number of half
open states and syncookie responses in-flight.
This determines if we activate or deactivate syncookies in adaptive
mode.

MFC after: 1 week
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D32134

Details

Provenance
kpAuthored on Jul 24 2021, 11:59 AM
Differential Revision
D32134: pf: implement adaptive mode
Parents
rG4a331971d2f1: mmc: Fix regression in 8a8166e5bcfb breaking Stratix 10 boot
Branches
Unknown
Tags
Unknown