The branch stable/14 has been updated by tuexen:

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

commit 992f67691ada56b4bd73e2cc1c20d6e6813a88e0
Author:     Michael Tuexen <tue...@freebsd.org>
AuthorDate: 2025-01-06 20:38:34 +0000
Commit:     Michael Tuexen <tue...@freebsd.org>
CommitDate: 2025-02-05 09:58:12 +0000

    TCP RACK: fix TCP_RACK_PACING_BETA socket option
    
    Bring back the code, which was accidentally removed. While there,
    indent a comment correctly.
    
    Reviewed by:            rrs
    CID:                    1540026
    Fixes:                  e18b97bd63a8 ("Update to bring the rack stack with 
all its fixes in.")
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D48340
    
    (cherry picked from commit e8ec28047df5185582a95c5211ed75682fad5ec5)
---
 sys/netinet/tcp_stacks/rack.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index a2325b88751b..2fefcdcbf01d 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -24092,14 +24092,13 @@ rack_get_sockopt(struct tcpcb *tp, struct sockopt 
*sopt)
                                error = EINVAL;
                }
                break;
-               /*
-                * Beta_ecn is the congestion control value for NewReno that 
influences how
-                * much of a backoff happens when a ECN mark is detected. It is 
normally set
-                * to 80 for 80% i.e. the cwnd is reduced by 20% of its 
previous value when
-                * you exit recovery. Note that classic ECN has a beta of 50, 
it is only
-                * ABE Ecn that uses this "less" value, but we do too with 
pacing :)
-                */
-
+       /*
+        * Beta_ecn is the congestion control value for NewReno that influences 
how
+        * much of a backoff happens when a ECN mark is detected. It is 
normally set
+        * to 80 for 80% i.e. the cwnd is reduced by 20% of its previous value 
when
+        * you exit recovery. Note that classic ECN has a beta of 50, it is only
+        * ABE Ecn that uses this "less" value, but we do too with pacing :)
+        */
        case TCP_RACK_PACING_BETA_ECN:
                if (strcmp(tp->t_cc->name, CCALGONAME_NEWRENO) != 0)
                        error = EINVAL;

Reply via email to