diff options
| author | Bojan Novković <bnovkov@FreeBSD.org> | 2026-08-17 14:10:36 +0000 |
|---|---|---|
| committer | Bojan Novković <bnovkov@FreeBSD.org> | 2026-08-28 13:56:26 +0000 |
| commit | bf05236727cf367ee8e22ef47febebb319db9ddb (patch) | |
| tree | 35ad16d9effa1f9a957169eddedb98fcbff3987f /sys/modules/tests/framework/(public-mirror) | |
| parent | ddf62c83fc0aca39a1bfd8346ad6e925bfb2290e (diff) | |
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 'sys/modules/tests/framework/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
