Skip to content

Commit

Permalink
fix: enable tcp_bbr to load automatically after reboot (#4011)
Browse files Browse the repository at this point in the history
## Overview

Fix: Enable automatic loading of tcp_bbr module after reboot
(cherry picked from commit 2be49e2)
  • Loading branch information
bombermine3 authored and rach-id committed Nov 25, 2024
1 parent 8a2426a commit 0150deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,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; \
Expand Down

0 comments on commit 0150deb

Please sign in to comment.