From b8c9d6b29643e112cdffc06a56f85f87cfde4201 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Tue, 8 Sep 2015 16:43:21 +0000 Subject: [PATCH] kernel: describe bridge patch "optimize netfilter hooks" It was initially added in r30917 by nbd. SVN-Revision: 46827 --- .../patches-3.18/644-bridge_optimize_netfilter_hooks.patch | 7 +++++++ .../patches-4.0/644-bridge_optimize_netfilter_hooks.patch | 7 +++++++ .../patches-4.1/644-bridge_optimize_netfilter_hooks.patch | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch b/target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch index 4df94ca9d8..3572661745 100644 --- a/target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch +++ b/target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch @@ -1,3 +1,10 @@ +From: Felix Fietkau +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 diff --git a/target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch b/target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch index 0efa296712..8a11ae3f40 100644 --- a/target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch +++ b/target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch @@ -1,3 +1,10 @@ +From: Felix Fietkau +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 diff --git a/target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch b/target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch index 5b5a7f3ccf..f338e05d53 100644 --- a/target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch +++ b/target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch @@ -1,3 +1,10 @@ +From: Felix Fietkau +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 @@ -51,7 +51,7 @@ EXPORT_SYMBOL_GPL(br_dev_queue_push_xmit -- 2.30.2