HomeFreeBSD

tcp: remove goto and address another NULL deref in SACK

Description

tcp: remove goto and address another NULL deref in SACK

Missed another NULL dereference during KASSERTS after traversing
the scoreboard. While at it, scratch the goto by making the
traversal conditional, and remove duplicate checks using an
unconditional loop with all checks inside.

Reviewed By: hselasky
PR: 263445
MFC after: 1 week
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D35428

Details

Provenance
rscheffAuthored on Jun 8 2022, 7:14 AM
Reviewer
hselasky
Differential Revision
D35428: tcp: remove goto and address another NULL deref in SACK
Parents
rGc4c5981c14d5: Bump the FreeBSD version after recent mbuf(9) structure changes.
Branches
Unknown
Tags
Unknown