git.iko.soy/typeable/nixpkgs
on master help sign in
linux_mptcp_95: init at 0.95

also removes 0.93, we want to maintain only the 2 latest upstream mptcp kernels.

commit1e0f5ff99abda38fe894eb998f4a33d55a068a09 authorMatthieu Coudron <mattator@gmail.com> dateMon 24 Jun 2019, 11:58 (7 years ago) parentea8a4fc
3 files changed+31−55
pkgs/os-specific/linux/kernel/linux-mptcp-93.nix−47 pkgs/os-specific/linux/kernel/linux-mptcp-95.nix+27 pkgs/top-level/all-packages.nix+4−8
pkgs/os-specific/linux/kernel/linux-mptcp-93.nixdeleted−47
@@ -1,47 +0,0 @@
1−{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, ... } @ args:
2−
3−buildLinux (rec {
4− mptcpVersion = "0.93";
5− modDirVersion = "4.9.60";
6− version = "${modDirVersion}-mptcp_v${mptcpVersion}";
7−
8− extraMeta = {
9− branch = "4.4";
10− maintainers = with stdenv.lib.maintainers; [ teto layus ];
11− };
12−
13− src = fetchFromGitHub {
14− owner = "multipath-tcp";
15− repo = "mptcp";
16− rev = "v${mptcpVersion}";
17− sha256 = "1irlppzvcmckrazs2c4vg6y8ji31552izc3wqabf401v57jvxcys";
18− };
19−
20− extraConfig = ''
21− IPV6 y
22− MPTCP y
23− IP_MULTIPLE_TABLES y
24−
25− # Enable advanced path-managers...
26− MPTCP_PM_ADVANCED y
27− MPTCP_FULLMESH y
28− MPTCP_NDIFFPORTS y
29− # ... but use none by default.
30− # The default is safer if source policy routing is not setup.
31− DEFAULT_DUMMY y
32− DEFAULT_MPTCP_PM default
33−
34− # MPTCP scheduler selection.
35− # Disabled as the only non-default is the useless round-robin.
36− MPTCP_SCHED_ADVANCED n
37− DEFAULT_MPTCP_SCHED default
38−
39− # Smarter TCP congestion controllers
40− TCP_CONG_LIA m
41− TCP_CONG_OLIA m
42− TCP_CONG_WVEGAS m
43− TCP_CONG_BALIA m
44−
45− '' + (args.extraConfig or "");
46−} // args)
47−
pkgs/os-specific/linux/kernel/linux-mptcp-95.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args:
2+let
3+ mptcpVersion = "0.95";
4+ modDirVersion = "4.19.55";
5+in
6+buildLinux ({
7+ version = "${modDirVersion}-mptcp_v${mptcpVersion}";
8+ inherit modDirVersion;
9+
10+ extraMeta = {
11+ branch = "4.19";
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 = "04a66iq5vsiz8mkpszfxmqknz7y4w3lsckrcz6q1syjpk0pdyiyw";
20+ };
21+
22+ structuredExtraConfig = stdenv.lib.mkMerge [
23+ (import ./mptcp-config.nix { inherit stdenv; })
24+ structuredExtraConfig
25+ ];
26+
27+} // args)
pkgs/top-level/all-packages.nix+4−8
@@ -15289,7 +15289,8 @@ in
1528915289
1529015290 klibcShrunk = lowPrio (callPackage ../os-specific/linux/klibc/shrunk.nix { });
1529115291
15292− linux_mptcp = linux_mptcp_94;
15292+ linux_mptcp = linux_mptcp_95;
15293+
1529315294 linux_mptcp_94 = callPackage ../os-specific/linux/kernel/linux-mptcp-94.nix {
1529415295 kernelPatches =
1529515296 [ kernelPatches.bridge_stp_helper
@@ -15303,13 +15304,8 @@ in
1530315304 ];
1530415305 };
1530515306
15306− linux_mptcp_93 = callPackage ../os-specific/linux/kernel/linux-mptcp-93.nix {
15307− kernelPatches =
15308− [ kernelPatches.bridge_stp_helper
15309− kernelPatches.p9_fixes
15310− kernelPatches.cpu-cgroup-v2."4.9"
15311− kernelPatches.modinst_arg_list_too_long
15312− ];
15307+ linux_mptcp_95 = callPackage ../os-specific/linux/kernel/linux-mptcp-95.nix {
15308+ kernelPatches = linux_4_19.kernelPatches;
1531315309 };
1531415310
1531515311 linux_rpi = callPackage ../os-specific/linux/kernel/linux-rpi.nix {