summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/net/bridge/br_forward.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/net/bridge/br_forward.c b/cleopatre/linux-2.6.25.10-spc300/net/bridge/br_forward.c
index 6cf4192cc4..bdd7c35c3c 100644
--- a/cleopatre/linux-2.6.25.10-spc300/net/bridge/br_forward.c
+++ b/cleopatre/linux-2.6.25.10-spc300/net/bridge/br_forward.c
@@ -20,14 +20,11 @@
#include <linux/netfilter_bridge.h>
#include "br_private.h"
-/* Don't forward packets to originating port or forwarding disabled,
- * except if it is a unicast HPAV MME packet */
+/* Don't forward packets to originating port or forwarding diasabled */
static inline int should_deliver(const struct net_bridge_port *p,
const struct sk_buff *skb)
{
- return (((skb->dev != p->dev)
- || ((skb->protocol == htons(ETH_P_HPAV)) && !(skb->mac_header[0] & 1)))
- && p->state == BR_STATE_FORWARDING);
+ return (skb->dev != p->dev && p->state == BR_STATE_FORWARDING);
}
static inline unsigned packet_length(const struct sk_buff *skb)