Overview
A merged contribution to the FreeBSD kernel implementing the RFC 9937 SafeACK heuristic and PRR-CRB/PRR-SSRB rate-reduction bounds, correcting RecoverFS handling in TCP loss recovery, and validating the change with packetdrill.
Problem
The PRR implementation in the kernel had drifted from the specification. Behaviour that the RFC defines precisely — how much to reduce the congestion window, and when — was not what the code did, which affects how quickly a connection recovers after loss.
Technical Approach
Read RFC 9937 against the existing FreeBSD implementation, identified the divergence, and prepared a patch series implementing the SafeACK heuristic and PRR-CRB/PRR-SSRB bounds and correcting RecoverFS. The change was validated with packetdrill, reviewed on the FreeBSD review system and merged.
Architecture
• FreeBSD TCP stack, PRR congestion control module • RFC 9937 SafeACK heuristic and PRR-CRB/PRR-SSRB bounds • RecoverFS correction • Validated with packetdrill • Patch series prepared with git • Reviewed on reviews.freebsd.org • 45 lines changed, merged April 2026
Highlights
- Merged upstream into FreeBSD
- Implements the RFC 9937 SafeACK heuristic and PRR-CRB/PRR-SSRB bounds
- Corrects RecoverFS handling, validated with packetdrill
- 45 lines changed
- Reviewed and accepted by the FreeBSD community
Context
Open source contribution to the FreeBSD kernel, merged April 2026.