netdev
[Top] [All Lists]

[PATCH] Always copy and save the vlan header in bridge-nf (do it right n

To: "David S.Miller" <davem@xxxxxxxxxx>
Subject: [PATCH] Always copy and save the vlan header in bridge-nf (do it right now)
From: Bart De Schuymer <bdschuym@xxxxxxxxxx>
Date: Wed, 31 Dec 2003 11:56:11 +0100
Cc: netdev <netdev@xxxxxxxxxxx>, Tomas Szepe <szepe@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.5
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

--- linux-2.6.0-bk3/include/linux/netfilter_bridge.h.earlier    2003-12-31 
11:54:25.000000000 +0100
+++ linux-2.6.0-bk3/include/linux/netfilter_bridge.h    2003-12-31 
11:54:47.000000000 +0100
@@ -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. */


<Prev in Thread] Current Thread [Next in Thread>