HomeFreeBSD

Fix a case in tcp_do_segment() where tcp_update_sack_list() would
rS170516Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix a case in tcp_do_segment() where tcp_update_sack_list() would
be called with an incorrect segment end value. tcp_reass() may
trim segments when they overlap with already existing ones in the
reassembly queue. Instead of saving the segment end value before
the call to tcp_reass() compute it on the fly based on the effective
segment length afterwards.

This bug was not really problematic as no information got lost and
the eventual SACK information computation was correct nontheless.

MFC after: 1 week

Details

Provenance
andreAuthored on
Parents
rS170515: Fix style for comments, be more verbose and add some more.
Branches
Unknown
Tags
Unknown

Event Timeline