diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-11-17 07:48:44 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-03-02 17:19:55 +0100 |
commit | 49bdf9803a9c481948e980e5b11db86bb23ddc4c (patch) | |
tree | 0bf43917cf31d883f46cc0d85078a87d204bbdb9 /pkgs/os-specific/linux | |
parent | 75e85cae42f4ae2f8ffd237009701aeb45da1dcf (diff) | |
download | nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar.gz nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar.bz2 nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar.lz nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar.xz nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.tar.zst nixpkgs-49bdf9803a9c481948e980e5b11db86bb23ddc4c.zip |
linux: IPV6_FOU_TUNNEL is available since 4.7
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 189560c28ac..9b0cd003072 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -129,7 +129,9 @@ with stdenv.lib; IPV6_MROUTE y IPV6_MROUTE_MULTIPLE_TABLES y IPV6_PIMSM_V2 y - IPV6_FOU_TUNNEL m + ${optionalString (versionAtLeast version "4.7") '' + IPV6_FOU_TUNNEL m + ''} CLS_U32_PERF y CLS_U32_MARK y ${optionalString (stdenv.system == "x86_64-linux") '' |