kernel: describe bridge patch "optimize netfilter hooks"
authorRafał Miłecki <zajec5@gmail.com>
Tue, 8 Sep 2015 16:43:21 +0000 (16:43 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Tue, 8 Sep 2015 16:43:21 +0000 (16:43 +0000)
It was initially added in r30917 by nbd.

SVN-Revision: 46827

target/linux/generic/patches-3.18/644-bridge_optimize_netfilter_hooks.patch
target/linux/generic/patches-4.0/644-bridge_optimize_netfilter_hooks.patch
target/linux/generic/patches-4.1/644-bridge_optimize_netfilter_hooks.patch

index 4df94ca9d80b33d604cb08fb280cbd6523e2387e..35726617457a8dc93a5d99fc21e6d93584720176 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
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
index 5b5a7f3ccfb9111752037160d12a5751ffe3f762..f338e05d530f12d87746f3890412f57fc6513488 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
 @@ -51,7 +51,7 @@ EXPORT_SYMBOL_GPL(br_dev_queue_push_xmit