Skip to content

Commit

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

## Overview

Fix: Enable automatic loading of tcp_bbr module after reboot<hr>This is
an automatic backport of pull request #4011 done by
[Mergify](https://mergify.com).

Co-authored-by: bombermine <[email protected]>
  • Loading branch information
mergify[bot] and bombermine3 authored Oct 30, 2024
1 parent 7634dfb commit 06f24f5
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 @@ -241,6 +241,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 06f24f5

Please sign in to comment.