Skip to content

Commit

Permalink
0.10 - Add kernel sysctl quirk for MTU probing
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 31, 2023
1 parent a11065e commit 31e7c5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ultramarine/release/50-ultramarine-networking.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Enables MTU Probing for IPv4
# Fixes a quirk with some home network setups and
# some applications/games that have QoS issues with large packets
# e.g. Minecraft, Ubisoft Connect, etc.
# https://blog.cloudflare.com/path-mtu-discovery-in-practice/
# https://www.reddit.com/r/linux_gaming/comments/10oc0dq/comment/j6e0ds2
net.ipv4.tcp_mtu_probing=1
8 changes: 7 additions & 1 deletion ultramarine/release/ultramarine-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
Summary: Ultramarine Linux release files
Name: ultramarine-release
Version: 39
Release: 0.9%{?dist}
Release: 0.10%{?dist}
License: MIT
Source0: LICENSE
URL: https://ultramarine-linux.org
Expand All @@ -54,6 +54,7 @@ Source20: distro-edition-template.swidtag
Source28: longer-default-shutdown-timeout.conf

Source30: ultramarine.conf
Source31: 50-ultramarine-networking.conf

Source31: enable-kwin-system76-scheduler-integration.service

Expand Down Expand Up @@ -678,6 +679,10 @@ EOF
mkdir -p %{buildroot}%{_sysconfdir}/anaconda/profile.d/
cp -pr %{SOURCE30} %{buildroot}%{_sysconfdir}/anaconda/profile.d/ultramarine.conf

# sysctls
mkdir -p %{buildroot}%{_prefix}/lib/sysctl.d/
cp -pr %{SOURCE31} %{buildroot}%{_prefix}/lib/sysctl.d/50-ultramarine-networking.conf

#########################


Expand Down Expand Up @@ -770,6 +775,7 @@ install -Dm0644 %{SOURCE32} -t %{buildroot}%{_datadir}/polkit-1/rules.d/
%files common
%{_datadir}/dnf/plugins/copr.vendor.conf
%{_sysconfdir}/anaconda/profile.d/ultramarine.conf
%{_prefix}/lib/sysctl.d/50-ultramarine-networking.conf
%license licenses/LICENSE licenses/README.license
%{_prefix}/lib/ultramarine-release
%{_prefix}/lib/systemd/user.conf.d/*
Expand Down

0 comments on commit 31e7c5d

Please sign in to comment.