HomeFreeBSD

MFC r360662: Fix a bug in SCTP SACK generation

Description

MFC r360662: Fix a bug in SCTP SACK generation

Fix the computation of the numbers of entries of the mapping array to
look at when generating a SACK. This was wrong in case of sequence
numbers wrap arounds.

Thanks to Gwenael FOURRE for reporting the issue for the userland stack:
https://github.com/sctplab/usrsctp/issues/462

Details

Provenance
tuexenAuthored on
Parents
rS360770: MFC r360193, r360209: Improve input validation ofor AUTH chunks
Branches
Unknown
Tags
Unknown