summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-09-08 16:43:21 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-09-08 16:43:21 +0000
commitb8c9d6b29643e112cdffc06a56f85f87cfde4201 (patch)
tree549893414748d11c6c0f095240a45af60a733d85 /target/linux
parent255d7ad8ba1cc4ce05f9b2a6ef6e1c205cd481b0 (diff)
downloadmtk-20170518-b8c9d6b29643e112cdffc06a56f85f87cfde4201.zip
mtk-20170518-b8c9d6b29643e112cdffc06a56f85f87cfde4201.tar.gz
mtk-20170518-b8c9d6b29643e112cdffc06a56f85f87cfde4201.tar.bz2
kernel: describe bridge patch "optimize netfilter hooks"
It was initially added in r30917 by nbd. SVN-Revision: 46827
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch7
-rw-r--r--target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch7
-rw-r--r--target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch7
3 files changed, 21 insertions, 0 deletions
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 4df94ca..3572661 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 <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
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 0efa296..8a11ae3 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 <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
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 5b5a7f3..f338e05 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 <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
@@ -51,7 +51,7 @@ EXPORT_SYMBOL_GPL(br_dev_queue_push_xmit