HomeFreeBSD

HTPS has actually three states not two so the macro needs to account for that.

Description

HTPS has actually three states not two so the macro needs to account for that.

Ok lets fix up the tcp_in_hpts() so that it also says yes if you
are in the race state moving and you are scheduled to be put in.
This also requires changing the MPASS to be the old version non
inline function of tcp_in_hpts().

This change also adds a new inline macro so that a uint64_t timestamp can be
obtained by a transport (aka Rack will use this).

Reviewed by: glebius, tuexen
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D44157

(cherry picked from commit 638b5ae1c7858373344bc7b9dcb5a1e7fab80bd9)

Details

Provenance
rrsAuthored on Mar 1 2024, 8:21 PM
tuexenCommitted on Apr 24 2024, 8:36 PM
Reviewer
glebius
Differential Revision
D44157: HTPS has actually three states not two so the macro needs to account for that.
Parents
rGd48e7e89e02f: TCP: Fix a rack bug that skyzall found which results in a crash.
Branches
Unknown
Tags
Unknown