HomeFreeBSD

Only update SACK/DSACK lists when a non-empty segment was received.

Description

Only update SACK/DSACK lists when a non-empty segment was received.
This fixes hitting a KASSERT with a valid packet exchange.

Reviewed by: rrs@, Richard Scheffenegger
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D21567

Details

Provenance
tuexenAuthored on
Differential Revision
D21567: Improve DSACK computation
Parents
rS352071: riscv: Ensure that BSS is 8-byte aligned
Branches
Unknown
Tags
Unknown