git.iko.soy/typeable/nixpkgs
on master help sign in
linux_mptcp_94: 0.94.4 -> 0.94.6
ea8a4fcMatthieu Coudron
pkgs/os-specific/linux/kernel/linux-mptcp-94.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args:
2+let
3+ mptcpVersion = "0.94.6";
4+ modDirVersion = "4.14.127";
5+in
6+buildLinux ({
7+ version = "${modDirVersion}-mptcp_v${mptcpVersion}";
8+ inherit modDirVersion;
9+
10+ extraMeta = {
11+ branch = "4.4";
12+ maintainers = with stdenv.lib.maintainers; [ teto layus ];
13+ };
14+
15+ src = fetchFromGitHub {
16+ owner = "multipath-tcp";
17+ repo = "mptcp";
18+ rev = "v${mptcpVersion}";
19+ sha256 = "071cx9205wpzhi5gc2da79w2abs3czd60jg0xml7j1szc5wl4yfn";
20+ };
21+
22+ structuredExtraConfig = stdenv.lib.mkMerge [
23+ (import ./mptcp-config.nix { inherit stdenv; })
24+ structuredExtraConfig
25+ ];
26+} // args)
pkgs/os-specific/linux/kernel/linux-mptcp.nixdeleted−49
@@ -1,49 +0,0 @@
1−{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args:
2−let
3− mptcpVersion = "0.94.4";
4− modDirVersion = "4.14.110";
5−in
6−buildLinux ({
7− version = "${modDirVersion}-mptcp_v${mptcpVersion}";
8− inherit modDirVersion;
9−
10− extraMeta = {
11− branch = "4.4";
12− maintainers = with stdenv.lib.maintainers; [ teto layus ];
13− };
14−
15− src = fetchFromGitHub {
16− owner = "multipath-tcp";
17− repo = "mptcp";
18− rev = "v${mptcpVersion}";
19− sha256 = "1ng6p1djhm3m5g44yyq7gpqqbzsnhm9rimsafp5g4dx8cm27a70f";
20− };
21−
22− structuredExtraConfig = with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; };
23− stdenv.lib.mkMerge [ {
24− IPV6 = yes;
25− MPTCP = yes;
26− IP_MULTIPLE_TABLES = yes;
27−
28− # Enable advanced path-managers...
29− MPTCP_PM_ADVANCED = yes;
30− MPTCP_FULLMESH = yes;
31− MPTCP_NDIFFPORTS = yes;
32− # ... but use none by default.
33− # The default is safer if source policy routing is not setup.
34− DEFAULT_DUMMY = yes;
35− DEFAULT_MPTCP_PM.freeform = "default";
36−
37− # MPTCP scheduler selection.
38− MPTCP_SCHED_ADVANCED = yes;
39− DEFAULT_MPTCP_SCHED.freeform = "default";
40−
41− # Smarter TCP congestion controllers
42− TCP_CONG_LIA = module;
43− TCP_CONG_OLIA = module;
44− TCP_CONG_WVEGAS = module;
45− TCP_CONG_BALIA = module;
46− }
47− structuredExtraConfig
48− ];
49−} // args)
pkgs/os-specific/linux/kernel/mptcp-config.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv }:
2+with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; };
3+{
4+ # DRM_AMDGPU = yes;
5+
6+ IPV6 = yes;
7+ MPTCP = yes;
8+ IP_MULTIPLE_TABLES = yes;
9+
10+ # Enable advanced path-managers...
11+ MPTCP_PM_ADVANCED = yes;
12+ MPTCP_FULLMESH = yes;
13+ MPTCP_NDIFFPORTS = yes;
14+ # ... but use none by default.
15+ # The default is safer if source policy routing is not setup.
16+ DEFAULT_DUMMY = yes;
17+ DEFAULT_MPTCP_PM.freeform = "default";
18+
19+ # MPTCP scheduler selection.
20+ MPTCP_SCHED_ADVANCED = yes;
21+ DEFAULT_MPTCP_SCHED.freeform = "default";
22+
23+ # Smarter TCP congestion controllers
24+ TCP_CONG_LIA = module;
25+ TCP_CONG_OLIA = module;
26+ TCP_CONG_WVEGAS = module;
27+ TCP_CONG_BALIA = module;
28+}
pkgs/top-level/all-packages.nix+1−1
@@ -15290,7 +15290,7 @@ in
15290 klibcShrunk = lowPrio (callPackage ../os-specific/linux/klibc/shrunk.nix { });
15290 klibcShrunk = lowPrio (callPackage ../os-specific/linux/klibc/shrunk.nix { });
15291
15291
15292 linux_mptcp = linux_mptcp_94;
15292 linux_mptcp = linux_mptcp_94;
15293− linux_mptcp_94 = callPackage ../os-specific/linux/kernel/linux-mptcp.nix {
15293+ linux_mptcp_94 = callPackage ../os-specific/linux/kernel/linux-mptcp-94.nix {
15294 kernelPatches =
15294 kernelPatches =
15295 [ kernelPatches.bridge_stp_helper
15295 [ kernelPatches.bridge_stp_helper
15296 kernelPatches.cpu-cgroup-v2."4.11"
15296 kernelPatches.cpu-cgroup-v2."4.11"