Skip to content

Commit

Permalink
Fix mptcp BPF scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 22, 2024
1 parent 591b89c commit f9e4c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptcp/files/etc/init.d/mptcp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ global_multipath_settings() {
for scheduler in $(ls -1 /usr/share/bpf/scheduler/*.o); do
bpftool struct_ops register $scheduler >/dev/null 2>&1
done
sysctl -qew net.mptcp.scheduler="$(echo $mptcp_scheduler | sed 's/mptcp_//' 's/.o//')" >/dev/null 2>&1
sysctl -qew net.mptcp.scheduler="$(echo $mptcp_scheduler | sed -e 's/mptcp_//' -e 's/.o//')" >/dev/null 2>&1
fi
fi
[ -z "$congestion" ] || sysctl -qew net.ipv4.tcp_congestion_control="$congestion"
Expand Down

0 comments on commit f9e4c3c

Please sign in to comment.