From 964f045cf34aace91f6c7b6e033311a5a8fa807f Mon Sep 17 00:00:00 2001 From: bombermine <84911882+bombermine3@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:51:51 +0300 Subject: [PATCH] fix: enable tcp_bbr to load automatically after reboot (#4011) ## Overview Fix: Enable automatic loading of tcp_bbr module after reboot (cherry picked from commit 2be49e216747787d6998c44c0ba30682e3b686d7) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 8b5c5196ef..e1e1ec9479 100644 --- a/Makefile +++ b/Makefile @@ -231,6 +231,7 @@ enable-bbr: @if [ "$(sysctl net.ipv4.tcp_congestion_control | awk '{print $3}')" != "bbr" ]; then \ echo "BBR is not enabled. Configuring BBR..."; \ sudo modprobe tcp_bbr; \ + echo tcp_bbr | sudo tee -a /etc/modules; \ echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.conf; \ echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.conf; \ sudo sysctl -p; \