kernel: describe bridge patch "optimize netfilter hooks"
It was initially added in r30917 by nbd. SVN-Revision: 46827
This commit is contained in:
		
							parent
							
								
									255d7ad8ba
								
							
						
					
					
						commit
						b8c9d6b296
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user