CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2025/05/08 14:22:56
Modified files: sys/netinet : tcp_input.c Log message: Only accept simple TCP timestamp options for softlro. Instead of parsing all TCP options, consider only two cases. No options or only timestamps at aligned position. The latter is the common case which must be fast. Ignoring other packets with complicated options will not decrease speed. In tcp_softlro_check() only packets without options or simple timestamps are considered for LRO. Enforce that timestamps are increasing to detect sequence number wraparounds. When concatenating TCP packets, take the timestamps from the tail which are more recent. OK jan@