linux: build with multipath tcp support
Starting from Linx 5.6, there is partial upstream support for the Multipath TCP protocol. There are no downsides to enabling it afaict, since applications need to opt-in when creating a socket. From https://github.com/multipath-tcp/mptcp_net-next/wiki: "[...] users of regular TCP continue to get the same type of connection and performance unless MPTCP is requested."
This commit is contained in:
parent
46149d0fe8
commit
0f03222d88
|
@ -196,6 +196,11 @@ let
|
|||
INET_UDP_DIAG = module;
|
||||
INET_RAW_DIAG = whenAtLeast "4.14" module;
|
||||
INET_DIAG_DESTROY = whenAtLeast "4.9" yes;
|
||||
|
||||
# enable multipath-tcp
|
||||
MPTCP = whenAtLeast "5.6" yes;
|
||||
MPTCP_IPV6 = whenAtLeast "5.6" yes;
|
||||
INET_MPTCP_DIAG = whenAtLeast "5.9" module;
|
||||
};
|
||||
|
||||
wireless = {
|
||||
|
|
|
@ -303,6 +303,7 @@ mapAliases ({
|
|||
libstdcxxHook = throw "libstdcxx hook has been removed because cc-wrapper is now directly aware of the c++ standard library intended to be used."; # 2020-06-22
|
||||
libqmatrixclient = throw "libqmatrixclient was renamed to libquotient"; # added 2020-04-09
|
||||
links = links2; # added 2016-01-31
|
||||
linux_mptcp_5_9 = linux_5_9; # added 2020-01-07
|
||||
linux_rpi0 = linux_rpi1;
|
||||
linuxPackages_rpi0 = linuxPackages_rpi1;
|
||||
|
||||
|
|
|
@ -18544,13 +18544,6 @@ in
|
|||
|
||||
linux_mptcp = linux_mptcp_95;
|
||||
|
||||
linux_mptcp_5_9 = linux_5_9.override {
|
||||
structuredExtraConfig = with lib.kernel; {
|
||||
MPTCP = yes;
|
||||
MPTCP_IPV6 = yes;
|
||||
};
|
||||
};
|
||||
|
||||
linux_mptcp_95 = callPackage ../os-specific/linux/kernel/linux-mptcp-95.nix {
|
||||
kernelPatches = linux_4_19.kernelPatches;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue