lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

linux-mptcp: init at 0.90 (kernel 3.18.20), fixes #11149

authored by

Guillaume Maudoux and committed by
Rok Garbas
f8ff4691 1c393cbb

+59
+49
pkgs/os-specific/linux/kernel/linux-mptcp.nix
··· 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 + 3 + import ./generic.nix (args // rec { 4 + mptcpVersion = "0.90"; 5 + modDirVersion = "3.18.20"; 6 + version = "${modDirVersion}-mptcp_v${mptcpVersion}"; 7 + 8 + extraMeta = { 9 + branch = "3.18"; 10 + maintainer = stdenv.lib.maintainers.layus; 11 + }; 12 + 13 + src = fetchurl { 14 + url = "https://github.com/multipath-tcp/mptcp/archive/v${mptcpVersion}.tar.gz"; 15 + sha256 = "1wzdvd1j1wqjkysj98g451y6mxr9a5hff5kn9inxwbzm9yg4icj5"; 16 + }; 17 + 18 + extraConfig = '' 19 + IPV6 y 20 + MPTCP y 21 + IP_MULTIPLE_TABLES y 22 + 23 + # Enable advanced path-managers... 24 + MPTCP_PM_ADVANCED y 25 + MPTCP_FULLMESH y 26 + MPTCP_NDIFFPORTS y 27 + # ... but use none by default. 28 + # The default is safer if source policy routing is not setup. 29 + DEFAULT_DUMMY y 30 + DEFAULT_MPTCP_PM "default" 31 + 32 + # MPTCP scheduler selection. 33 + # Disabled as the only non-default is the useless round-robin. 34 + MPTCP_SCHED_ADVANCED n 35 + DEFAULT_MPTCP_SCHED "default" 36 + 37 + # Smarter TCP congestion controllers 38 + TCP_CONG_LIA m 39 + TCP_CONG_OLIA m 40 + TCP_CONG_WVEGAS m 41 + TCP_CONG_BALIA m 42 + ''; 43 + 44 + features.iwlwifi = true; 45 + features.efiBootStub = true; 46 + features.needsCifsUtils = true; 47 + features.canDisableNetfilterConntrackHelpers = true; 48 + features.netfilterRPFilter = true; 49 + } // (args.argsOverride or {}))
+10
pkgs/top-level/all-packages.nix
··· 10026 10026 10027 10027 kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { }; 10028 10028 10029 + linux_mptcp = callPackage ../os-specific/linux/kernel/linux-mptcp.nix { 10030 + kernelPatches = [ kernelPatches.bridge_stp_helper ] 10031 + ++ lib.optionals ((platform.kernelArch or null) == "mips") 10032 + [ kernelPatches.mips_fpureg_emu 10033 + kernelPatches.mips_fpu_sigill 10034 + kernelPatches.mips_ext3_n32 10035 + ]; 10036 + }; 10037 + 10029 10038 linux_rpi = callPackage ../os-specific/linux/kernel/linux-rpi.nix { 10030 10039 kernelPatches = [ kernelPatches.bridge_stp_helper ]; 10031 10040 }; ··· 10266 10275 linux_latest = linuxPackages_latest.kernel; 10267 10276 10268 10277 # Build the kernel modules for the some of the kernels. 10278 + linuxPackages_mptcp = linuxPackagesFor pkgs.linux_mptcp linuxPackages_mptcp; 10269 10279 linuxPackages_rpi = linuxPackagesFor pkgs.linux_rpi linuxPackages_rpi; 10270 10280 linuxPackages_3_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_10 linuxPackages_3_10); 10271 10281 linuxPackages_3_10_tuxonice = linuxPackagesFor pkgs.linux_3_10_tuxonice linuxPackages_3_10_tuxonice;