From c845b354600d64970f2a728d35079852ef18ff43 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 1 Nov 2024 08:10:32 +0300 Subject: [PATCH] linux: remove patch backport --- pkgs/os-specific/linux/kernel/patches.nix | 10 ---------- pkgs/top-level/linux-kernels.nix | 10 +--------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index 551fb58ed4ee..9e15991dd635 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -60,14 +60,4 @@ name = "export-rt-sched-migrate"; patch = ./export-rt-sched-migrate.patch; }; - - # Backport upstream fix for very annoying Tailscale issue - # FIXME: remove when merged upstream - netfilter-typo-fix = { - name = "netfilter-typo-fix"; - patch = fetchpatch { - url = "https://lore.kernel.org/netdev/20241021094536.81487-3-pablo@netfilter.org/raw"; - hash = "sha256-ZGc1xAIjf+MlV02jhIWZ4jHC742+z/WpN7RenqpU7e4="; - }; - }; } diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 8d6d9b4d0d05..9f7ed1e1ca1b 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -54,7 +54,7 @@ let broken = kernel.meta.broken; }; }; - kernelPatches = lib.filter ({ name ? null, ... }: name != "netfilter-typo-fix") kernel.kernelPatches ++ [ + kernelPatches = kernel.kernelPatches ++ [ kernelPatches.hardened.${kernel.meta.branch} ]; isHardened = true; @@ -138,7 +138,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.netfilter-typo-fix ]; }; @@ -147,7 +146,6 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.export-rt-sched-migrate - kernelPatches.netfilter-typo-fix ]; }; @@ -156,7 +154,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.netfilter-typo-fix ]; }; @@ -165,7 +162,6 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.export-rt-sched-migrate - kernelPatches.netfilter-typo-fix ]; }; @@ -174,7 +170,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.netfilter-typo-fix ]; }; @@ -183,7 +178,6 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.export-rt-sched-migrate - kernelPatches.netfilter-typo-fix ]; }; @@ -192,7 +186,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.netfilter-typo-fix ]; }; @@ -204,7 +197,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.netfilter-typo-fix ]; }; latest = packageAliases.linux_latest.kernel;