HomeFreeBSD

tcp: improve consistency of KASSERTs in tcp_sack.c

Description

tcp: improve consistency of KASSERTs in tcp_sack.c

When panicing, don't print the condition, which was violated,
but the condition which holds at the time of the panic.

Reviewed by: Nick Banks
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D51726

Details

Provenance
tuexenAuthored on Aug 6 2025, 10:28 AM
Reviewer
nick
Differential Revision
D51726: tcp: improve consistency of KASSERTs in tcp_sack.c
Parents
rG717bbade2485: rack, bbr: minor cleanup
Branches
Unknown
Tags
Unknown