summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2021-01-17 19:21:56 +0300
committerIzorkin <izorkin@elven.pw>2021-01-17 22:15:22 +0300
commit25a5c04a232308a621ed7a63b41f091670e166e8 (patch)
tree045c35e36fa7e54a4de44a58f2093b07179d6355 /pkgs/os-specific/linux/kernel/common-config.nix
parente248668d1b098346366004c4a3068faf909a8611 (diff)
downloadnixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar.gz
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar.bz2
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar.lz
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar.xz
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.tar.zst
nixpkgs-25a5c04a232308a621ed7a63b41f091670e166e8.zip
nftables: add netdev REJECT support
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 e1b6da0216d..2f073d7a38f 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -174,6 +174,8 @@ let
                                               (whenAtLeast "4.17" yes) ];
       NF_TABLES_NETDEV            = mkMerge [ (whenOlder "4.17" module)
                                               (whenAtLeast "4.17" yes) ];
+      NFT_REJECT_NETDEV           = whenAtLeast "5.11" module;
+
       # IP: Netfilter Configuration
       NF_TABLES_IPV4              = mkMerge [ (whenOlder "4.17" module)
                                               (whenAtLeast "4.17" yes) ];