aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/Process/Darwin/NativeProcessDarwin.h
diff options
context:
space:
mode:
authorBojan Novković <bnovkov@FreeBSD.org>2026-08-17 14:10:36 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2026-08-28 13:56:26 +0000
commitbf05236727cf367ee8e22ef47febebb319db9ddb (patch)
tree35ad16d9effa1f9a957169eddedb98fcbff3987f /source/Plugins/Process/Darwin/NativeProcessDarwin.h
parentddf62c83fc0aca39a1bfd8346ad6e925bfb2290e (diff)
pf: Send syncookies from the receiving threadHEADmain
pf sends outbound packets by offloading them to a single per-vnet SWI handler through the `V_pf_sendqueue` mbuf queue. A large DDoS attack may overwhelm that per-vnet queue with syncookie packets and cause contention in the SWI handler that negatively affects other pf operations. Fix this by sending the initial syncookie challenge from the context of the receiving thread. This avoids the syncookie-induced contention on the `pf_intr` mbuf queue. Sponsored by: Klara, Inc. Sponsored by: Entersekt MFC after: 3 weeks Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D59068
Diffstat (limited to 'source/Plugins/Process/Darwin/NativeProcessDarwin.h')
0 files changed, 0 insertions, 0 deletions