summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2020-02-29 23:57:43 +0100
committerFélix Baylac-Jacqué <felix@alternativebit.fr>2020-03-01 20:25:44 +0100
commit6896b1cb1de84342103d7495816a8100a0a45a40 (patch)
treed50d5f148ec5aedfdbe02015c3074ff923bb244b /pkgs/os-specific/linux/kernel/common-config.nix
parentf727955f3bad45f77438ae6833545f0c7ae5aff1 (diff)
downloadnixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar.gz
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar.bz2
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar.lz
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar.xz
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.tar.zst
nixpkgs-6896b1cb1de84342103d7495816a8100a0a45a40.zip
linux: add policy routing config flag for aarch64
CONFIG_IP_MULTIPLE_TABLES is part of the default x86 kernel config but
absent from the Aarch64 one. Adding explicitely this flag together
with its dependency IP_ADVANCED_ROUTER.

Both of these config flags are needed to use the routing policy
facilities.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index f9579a9fde5..e925068421d 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -104,6 +104,7 @@ let
 
     networking = {
       NET                = yes;
+      IP_ADVANCED_ROUTER = yes;
       IP_PNP             = no;
       IP_VS_PROTO_TCP    = yes;
       IP_VS_PROTO_UDP    = yes;
@@ -126,6 +127,7 @@ let
       IP_ROUTE_VERBOSE            = yes;
       IP_MROUTE_MULTIPLE_TABLES   = yes;
       IP_MULTICAST                = yes;
+      IP_MULTIPLE_TABLES          = yes;
       IPV6_ROUTER_PREF            = yes;
       IPV6_ROUTE_INFO             = yes;
       IPV6_OPTIMISTIC_DAD         = yes;