Skip to contentSkip to conversation

Always copy and save the vlan header in bridge-nf (do it right now)

PATCH Applied Bart De Schuymer 2 participants 2 messages Dec 31, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Always copy and save the vlan header in bridge-nf (do it right now)

Hi Dave,

I forgot to get rid of another ifdef in netfilter_bridge.h when I removed the dependency upon vlan being compiled. This patch fixes it.

cheers,
Bart

include/linux/netfilter_bridge.h renamed from include/linux/netfilter_bridge.h.earlier +0 -2
@@ -8,10 +8,8 @@
 #include <linux/netfilter.h>
 #if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER)
 #include <asm/atomic.h>
-#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
 #include <linux/if_ether.h>
 #endif
-#endif
 
 /* Bridge Hooks */
 /* After promisc drops, checksum checks. */
#1 lore raw
Quoted 2 lines · On Wed, 31 Dec 2003 11:56:11 +0100 Bart De Schuymer <[email protected]> wrote:

I forgot to get rid of another ifdef in netfilter_bridge.h when I removed the dependency upon vlan being compiled. This patch fixes it.

Applied, thanks Bart.