Skip to contentSkip to conversation

net: disable BRIDGE_NETFILTER by default

PATCH Applied [email protected] 3 participants 3 messages Feb 19, 2020 – Feb 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: disable BRIDGE_NETFILTER by default

From: Roman Kiryanov <[email protected]>

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.

---
Changes in v2:
- added cc:[email protected]

 net/Kconfig | 1 -
 1 file changed, 1 deletion(-)
net/Kconfig +0 -1
index b0937a700f01..2eeb0e55f7c9 100644
@@ -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
Signature · 1 line
2.25.0.265.gbab2e86ba0-goog
maintainer Applied
#2 lore raw
In reply to [email protected]

From: [email protected]
Date: Wed, 19 Feb 2020 13:40:06 -0800

Quoted 10 lines

From: Roman Kiryanov <[email protected]>

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.

Quoted 7 lines

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.

Applied.