Skip to content

Commit

Permalink
kernelmptcp: 0.91.3 -> 0.92.1
Browse files Browse the repository at this point in the history
  • Loading branch information
teto authored and globin committed Nov 2, 2017
1 parent 1fc6f46 commit 7dce131
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
10 changes: 5 additions & 5 deletions pkgs/os-specific/linux/kernel/linux-mptcp.nix
@@ -1,18 +1,18 @@
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:

import ./generic.nix (args // rec {
mptcpVersion = "0.91.3";
modDirVersion = "4.1.38";
mptcpVersion = "0.92.1";
modDirVersion = "4.4.83";
version = "${modDirVersion}-mptcp_v${mptcpVersion}";

extraMeta = {
branch = "4.1";
maintainers = [ stdenv.lib.maintainers.layus ];
branch = "4.4";
maintainers = with stdenv.lib.maintainers; [ teto layus ];
};

src = fetchurl {
url = "https://github.com/multipath-tcp/mptcp/archive/v${mptcpVersion}.tar.gz";
sha256 = "0vqjnkzcbbvyq24w3cryfmw7hhws1xqkkxqcv71szkbqqs6mcr14";
sha256 = "1afjqmxq9p5gyr6r607bx3mqpnx451kfpwlffzxwgdwnf93alngz";
};

extraConfig = ''
Expand Down
9 changes: 0 additions & 9 deletions pkgs/os-specific/linux/kernel/patches.nix
Expand Up @@ -58,15 +58,6 @@ rec {

cpu-cgroup-v2 = import ./cpu-cgroup-v2-patches;

DCCP_double_free_vulnerability_CVE-2017-6074 = rec
{ name = "DCCP_double_free_vulnerability_CVE-2017-6074.patch";
patch = fetchpatch {
inherit name;
url = "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4";
sha256 = "10dmv3d3gj8rvj9h40js4jh8xbr5wyaqiy0kd819mya441mj8ll2";
};
};

tag_hardened = rec {
name = "tag-hardened";
patch = ./tag-hardened.patch;
Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -12394,11 +12394,12 @@ with pkgs;
};
};

# linux mptcp is based on the 4.4 kernel
linux_mptcp = callPackage ../os-specific/linux/kernel/linux-mptcp.nix {
kernelPatches =
[ kernelPatches.bridge_stp_helper
kernelPatches.p9_fixes
kernelPatches.DCCP_double_free_vulnerability_CVE-2017-6074
kernelPatches.cpu-cgroup-v2."4.4"
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
Expand Down

0 comments on commit 7dce131

Please sign in to comment.