bbr: исправить бесконечную рекурсию в bbr_now — bbr_now(bbr) → get_time_tb()

This commit is contained in:
Evgeny committed 2026-06-01 18:28:02 +03:00
1 parent 0adff0253d
commit c5b4ec7a05
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
#include "../lib/u_async.h"
#include <stdlib.h>
static uint64_t bbr_now(const struct bbr* bbr) { return bbr->now_tb ? bbr->now_tb : bbr_now(bbr); }
static uint64_t bbr_now(const struct bbr* bbr) { return bbr->now_tb ? bbr->now_tb : get_time_tb(); }
static void bbr_start_bw_probe_down(struct bbr* bbr);
static void bbr_start_bw_probe_cruise(struct bbr* bbr);