git.iko.soy/typeable/nixpkgs
on master help sign in
kernelmptcp: 0.91.3 -> 0.92.1
commit7dce131b8625e4cb51f1e4ebcb28f88e21458c14 authorMatthieu Coudron <mattator@gmail.com> dateThu 7 Sep 2017, 03:29 (9 years ago) parent1fc6f46
3 files changed+7−15
pkgs/os-specific/linux/kernel/linux-mptcp.nix+5−5 pkgs/os-specific/linux/kernel/patches.nix−9 pkgs/top-level/all-packages.nix+2−1
pkgs/os-specific/linux/kernel/linux-mptcp.nix+5−5
@@ -1,18 +1,18 @@
11{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− mptcpVersion = "0.91.3";
5− modDirVersion = "4.1.38";
4+ mptcpVersion = "0.92.1";
5+ modDirVersion = "4.4.83";
66 version = "${modDirVersion}-mptcp_v${mptcpVersion}";
77
88 extraMeta = {
9− branch = "4.1";
10− maintainers = [ stdenv.lib.maintainers.layus ];
9+ branch = "4.4";
10+ maintainers = with stdenv.lib.maintainers; [ teto layus ];
1111 };
1212
1313 src = fetchurl {
1414 url = "https://github.com/multipath-tcp/mptcp/archive/v${mptcpVersion}.tar.gz";
15− sha256 = "0vqjnkzcbbvyq24w3cryfmw7hhws1xqkkxqcv71szkbqqs6mcr14";
15+ sha256 = "1afjqmxq9p5gyr6r607bx3mqpnx451kfpwlffzxwgdwnf93alngz";
1616 };
1717
1818 extraConfig = ''
pkgs/os-specific/linux/kernel/patches.nix−9
@@ -58,15 +58,6 @@ rec {
5858
5959 cpu-cgroup-v2 = import ./cpu-cgroup-v2-patches;
6060
61− DCCP_double_free_vulnerability_CVE-2017-6074 = rec
62− { name = "DCCP_double_free_vulnerability_CVE-2017-6074.patch";
63− patch = fetchpatch {
64− inherit name;
65− url = "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4";
66− sha256 = "10dmv3d3gj8rvj9h40js4jh8xbr5wyaqiy0kd819mya441mj8ll2";
67− };
68− };
69−
7061 tag_hardened = rec {
7162 name = "tag-hardened";
7263 patch = ./tag-hardened.patch;
pkgs/top-level/all-packages.nix+2−1
@@ -12394,11 +12394,12 @@ with pkgs;
1239412394 };
1239512395 };
1239612396
12397+ # linux mptcp is based on the 4.4 kernel
1239712398 linux_mptcp = callPackage ../os-specific/linux/kernel/linux-mptcp.nix {
1239812399 kernelPatches =
1239912400 [ kernelPatches.bridge_stp_helper
1240012401 kernelPatches.p9_fixes
12401− kernelPatches.DCCP_double_free_vulnerability_CVE-2017-6074
12402+ kernelPatches.cpu-cgroup-v2."4.4"
1240212403 ]
1240312404 ++ lib.optionals ((platform.kernelArch or null) == "mips")
1240412405 [ kernelPatches.mips_fpureg_emu