From: Roman Kiryanov Date: Wed, 19 Feb 2020 21:40:06 +0000 (-0800) Subject: net: disable BRIDGE_NETFILTER by default X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=98bda63e20daab95bdc084ce00459a4f622a0505;p=kernel.git net: disable BRIDGE_NETFILTER by default The description says 'If unsure, say N.' but the module is built as M by default (once the dependencies are satisfied). When the module is selected (Y or M), it enables NETFILTER_FAMILY_BRIDGE and SKB_EXTENSIONS which alter kernel internal structures. We (Android Studio Emulator) currently do not use this module and think this it is more consistent to have it disabled by default as opposite to disabling it explicitly to prevent enabling NETFILTER_FAMILY_BRIDGE and SKB_EXTENSIONS. Signed-off-by: Roman Kiryanov Acked-by: Florian Westphal Signed-off-by: David S. Miller --- diff --git a/net/Kconfig b/net/Kconfig index b0937a700f018..2eeb0e55f7c93 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -189,7 +189,6 @@ config BRIDGE_NETFILTER depends on NETFILTER_ADVANCED select NETFILTER_FAMILY_BRIDGE select SKB_EXTENSIONS - default m ---help--- Enabling this option will let arptables resp. iptables see bridged ARP resp. IP traffic. If you want a bridging firewall, you probably