Displaying 3 results from an estimated 3 matches for "0c7ee4c".
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
...the uplink (after learning)
+ */
+ if ((br->flags & BR_VEPA_MODE) && p != br->uplink) {
+ br_vepa_deliver(br->uplink, skb);
+ goto out;
+ }
+
if (p->state == BR_STATE_LEARNING)
goto drop;
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index b6c3b71..0c7ee4c 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -82,6 +82,9 @@ struct net_bridge_port
struct timer_list message_age_timer;
struct kobject kobj;
struct rcu_head rcu;
+
+ unsigned long flags;
+#define BR_HAIRPIN_MODE 0x00000001
};
struct net_bridge
@@ -98,6 +1...
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
...the uplink (after learning)
+ */
+ if ((br->flags & BR_VEPA_MODE) && p != br->uplink) {
+ br_vepa_deliver(br->uplink, skb);
+ goto out;
+ }
+
if (p->state == BR_STATE_LEARNING)
goto drop;
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index b6c3b71..0c7ee4c 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -82,6 +82,9 @@ struct net_bridge_port
struct timer_list message_age_timer;
struct kobject kobj;
struct rcu_head rcu;
+
+ unsigned long flags;
+#define BR_HAIRPIN_MODE 0x00000001
};
struct net_bridge
@@ -98,6 +1...
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
...the uplink (after learning)
+ */
+ if ((br->flags & BR_VEPA_MODE) && p != br->uplink) {
+ br_vepa_deliver(br->uplink, skb);
+ goto out;
+ }
+
if (p->state == BR_STATE_LEARNING)
goto drop;
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index b6c3b71..0c7ee4c 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -82,6 +82,9 @@ struct net_bridge_port
struct timer_list message_age_timer;
struct kobject kobj;
struct rcu_head rcu;
+
+ unsigned long flags;
+#define BR_HAIRPIN_MODE 0x00000001
};
struct net_bridge
@@ -98,6 +1...