diff mbox series

[RFC,linux,dev-5.4,1/4] ARM: configs: aspeed-g5: Disable netfilter

Message ID 20200514132703.448317-2-andrew@aj.id.au
State RFC, archived
Headers show
Series Enable kprobes on AST2500 and later | expand

Commit Message

Andrew Jeffery May 14, 2020, 1:27 p.m. UTC
Enabling modules with CONFIG_NETFILTER=y and CONFIG_NETFILTER_ADVANCED=n
results in a diverse set of netfilter functions being built as modules.
These functions were not previously enabled in any way because modules
were disabled, therefore we can't have been using them. Given that we
aren't using them, disable netfilter as well to prevent them from being
built.

CONFIG_NETFILTER=y was introduced in 20c90af9ea6a ("ARM: config: aspeed:
Update defconfig") with little fanfare in the commit message, which
makes me wonder whether it was enabled because we needed it or whether
its addition slipped through the cracks.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/configs/aspeed_g5_defconfig | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
index cdf30fbe613e..e124b4ddd442 100644
--- a/arch/arm/configs/aspeed_g5_defconfig
+++ b/arch/arm/configs/aspeed_g5_defconfig
@@ -69,8 +69,6 @@  CONFIG_IPV6_ROUTER_PREF=y
 CONFIG_IPV6_ROUTE_INFO=y
 CONFIG_IPV6_OPTIMISTIC_DAD=y
 CONFIG_IPV6_MULTIPLE_TABLES=y
-CONFIG_NETFILTER=y
-# CONFIG_NETFILTER_ADVANCED is not set
 CONFIG_VLAN_8021Q=y
 CONFIG_NET_NCSI=y
 # CONFIG_WIRELESS is not set