[PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options

Guodong Xu guodong.xu at oss.qualcomm.com
Sun Nov 29 04:40:18 PST 2026


Since commit 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on
PREEMPT_RT.") these options depend on IP_NF_IPTABLES_LEGACY or
IP6_NF_IPTABLES_LEGACY. The defconfig enables neither, so the entries
have no effect. arm64 dropped the same entries in commit a54929fb60ed
("arm64: defconfig: Drop unused legacy netfilter options").

Vincent Mailhol posted this removal for all architectures in March
2026 [1].

The resulting .config does not change.

Link: https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-2-8eecb7fdd24d@kernel.org [1]
Co-developed-by: Vincent Mailhol (Arm) <mailhol at kernel.org>
Signed-off-by: Vincent Mailhol (Arm) <mailhol at kernel.org>
Acked-by: Paul Walmsley <pjw at kernel.org> # arch/riscv
Signed-off-by: Guodong Xu <guodong.xu at oss.qualcomm.com>
---
Paul Walmsley acked the arch/riscv part of [1] in [2]. Krzysztof
Kozlowski asked for the series to be split per architecture [3]; it was
not posted again, and Vincent has since said that anyone may pick up or
rework its patches [4]. arm64 dropped its entries through Krzysztof's
arm64 defconfig series [5] (the commit named above).

This is the RISC-V part: the arch/riscv hunk of [1], with Vincent's
Signed-off-by and Paul's Acked-by carried over.

[2] https://lore.kernel.org/r/576cec38-a5e4-5391-2a57-b164e84a813f@kernel.org
[3] https://lore.kernel.org/r/febd0f7e-59f3-4ba4-8706-53c7353e3fe5@kernel.org
[4] https://lore.kernel.org/r/9d0bb966-91ab-49c2-ac45-204b1bf0e666@kernel.org
[5] https://lore.kernel.org/r/20260429-defconfig-v2-0-e4ed4186028b@oss.qualcomm.com
---
 arch/riscv/configs/defconfig | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 383fdd07a99f8..c233c1e865b87 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -81,18 +81,10 @@ CONFIG_IP_VS_NFCT=y
 CONFIG_NF_LOG_ARP=m
 CONFIG_NF_LOG_IPV4=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_NAT=m
-CONFIG_IP_NF_TARGET_MASQUERADE=m
 CONFIG_IP_NF_TARGET_REDIRECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_NF_LOG_IPV6=m
 CONFIG_IP6_NF_IPTABLES=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_BRIDGE=m
 CONFIG_BRIDGE_VLAN_FILTERING=y
 CONFIG_VLAN_8021Q=m

-- 
2.43.0




More information about the linux-riscv mailing list