Page MenuHomeFreeBSD

tcp: prevent spurious empty segments and fix uncommon panic
ClosedPublic

Authored by rscheff on Jan 6 2024, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 4:55 AM
Unknown Object (File)
Mar 28 2024, 4:48 AM
Unknown Object (File)
Feb 10 2024, 9:43 PM
Unknown Object (File)
Feb 3 2024, 8:24 AM
Unknown Object (File)
Jan 31 2024, 8:24 PM
Unknown Object (File)
Jan 11 2024, 1:04 PM
Unknown Object (File)
Jan 11 2024, 3:25 AM
Unknown Object (File)
Jan 8 2024, 6:41 PM
Subscribers

Details

Summary

When receiving pure ACKs for previously sent data,
but no more data is available in the send buffer,
an spurious empty ACK would frequently be sent instead.

In the case of a retransmitted SYN not being sent due to
an internal error, the snd_una/snd_nxt accounting could
be off, leading to a panic. Pulling snd_nxt up to snd_una
prevents this from happening.

Reported by: fengdreamer@126.com

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable