CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/23 08:51:30
Modified files:
sys/netinet : tcp.h tcp_input.c tcp_subr.c tcp_usrreq.c
tcp_var.h
usr.bin/netstat: inet.c
Log message:
Limit TCP reassembly list walks.
To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
queue length. The segment at rcv_nxt is still accepted, so the
missing data can drain a full queue. Large windows on a high
bandwidth connection may hit a strict 100 segment maximum in
legitimate cases, so also make the limit depend on the socket buffer
size. Introduce a specific TCP counter for a full reassembly queue.
from Acts1631; OK claudio@