kernel: describe bridge patch "optimize netfilter hooks"
[openwrt/openwrt.git] / target / linux / generic / patches-4.0 / 644-bridge_optimize_netfilter_hooks.patch
index 0efa2967121dba51d31847645ba9eab952e132c9..8a11ae3f40a2f71537f87141698e9f04d073874c 100644 (file)
@@ -1,3 +1,10 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Subject: [PATCH] bridge: optimize netfilter hooks
+
+Bypass all netfilter hooks if the sysctls for that functionality have
+been disabled - eliminates the overhead of enabling
+CONFIG_BRIDGE_NETFILTER in the kernel config
+---
 --- a/net/bridge/br_forward.c
 +++ b/net/bridge/br_forward.c
 @@ -53,7 +53,7 @@ EXPORT_SYMBOL_GPL(br_dev_queue_push_xmit