Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 19:05:11 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fee8f540da32 - stable/14 - hpts: don't ifdef tcp_in_hpts()
Message-ID:  <202401161905.40GJ5Bhl009999@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=fee8f540da32bc81dbbd81e52382c8aa5b71d678

commit fee8f540da32bc81dbbd81e52382c8aa5b71d678
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-12-04 18:19:46 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-01-16 18:38:52 +0000

    hpts: don't ifdef tcp_in_hpts()
    
    This small inline function is always available.
    
    Reviewed by:            imp, tuexen, rrs
    Differential Revision:  https://reviews.freebsd.org/D42855
    
    (cherry picked from commit 8e907391b74c6ccb6a6925638383e7b82fc9371a)
---
 sys/netinet/tcp_subr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 083a8b1ea384..c1a29f3d01d7 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -4316,9 +4316,7 @@ tcp_req_log_req_info(struct tcpcb *tp, struct tcp_sendfile_track *req,
 		struct timeval tv;
 
 		memset(&log.u_bbr, 0, sizeof(log.u_bbr));
-#ifdef TCPHPTS
 		log.u_bbr.inhpts = tcp_in_hpts(tp);
-#endif
 		log.u_bbr.flex8 = val;
 		log.u_bbr.rttProp = req->timestamp;
 		log.u_bbr.delRate = req->start;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401161905.40GJ5Bhl009999>