]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: disable BRIDGE_NETFILTER by default
authorRoman Kiryanov <rkir@google.com>
Wed, 19 Feb 2020 21:40:06 +0000 (13:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2020 23:02:02 +0000 (15:02 -0800)
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 <rkir@google.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/Kconfig

index b0937a700f018323e5b1e8f0421ee42c825a02d7..2eeb0e55f7c9342dc45f9eb99d438988e1a625dc 100644 (file)
@@ -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