When the RACK stack computes the space for user data in a TCP segment, it wasn't taking the IP level options into account. This patch fixes this. It also corrects a KASSERT and adds the protection code missing also from the default stack and to be added in D21665 .
Without this fix, IP level fragmentation would occur.
Details
Details
- Reviewers
rrs rscheff jtl bz - Group Reviewers
transport - Commits
- rS352673: MFC r352512:
rS352512: When the RACK stack computes the space for user data in a TCP segment,
Check with the following test program that no IP level fragmentation occurs (use RACK as the default stack):
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable