HomeFreeBSD

tcp: use signed IsLost() related accounting variables

Description

tcp: use signed IsLost() related accounting variables

Coverity found that one safety check (kassert) was not
functional, as possible incorrect subtractions during
the accounting wouldn't show up as (invalid) negative
values.

Reported by: gallatin
Reviewed By: cc, transport
Sponsored By: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D42180

Details

Provenance
rscheffAuthored on Oct 17 2023, 2:07 PM
Reviewer
transport
Differential Revision
D42180: tcp: make IsLost() related accounting variables signed
Parents
rG4bd1e1968494: socket tests: Build fix
Branches
Unknown
Tags
Unknown