]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tcp: tcp_vegas: use tcp_vegas_cwnd_event_tx_start()
authorEric Dumazet <edumazet@google.com>
Wed, 25 Mar 2026 21:24:39 +0000 (21:24 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Mar 2026 03:11:53 +0000 (20:11 -0700)
While net/ipv4/tcp_yeah.c is correctly setting .cwnd_event_tx_start
to tcp_vegas_cwnd_event_tx_start(), I forgot to do the same in tcp_vegas.c

Fixes: d1e59a469737 ("tcp: add cwnd_event_tx_start to tcp_congestion_ops")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260325212440.4146579-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_vegas.c

index cf12fb6be079d8ccd65f297a3a90a9a5e90036e8..950a66966059e89fc108a31c106805a0f76fc6f0 100644 (file)
@@ -319,6 +319,7 @@ static struct tcp_congestion_ops tcp_vegas __read_mostly = {
        .pkts_acked     = tcp_vegas_pkts_acked,
        .set_state      = tcp_vegas_state,
        .cwnd_event     = tcp_vegas_cwnd_event,
+       .cwnd_event_tx_start = tcp_vegas_cwnd_event_tx_start,
        .get_info       = tcp_vegas_get_info,
 
        .owner          = THIS_MODULE,