Displaying 2 results from an estimated 2 matches for "age_list".
Did you mean:
page_list
2007 Apr 18
0
[Bridge] [PATCH] (4/4) bridge forwarding table RCU
.../bridge/br_fdb.c 2004-07-28 15:30:04 -07:00
+++ b/net/bridge/br_fdb.c 2004-07-28 15:30:04 -07:00
@@ -73,7 +73,7 @@
static __inline__ void fdb_delete(struct net_bridge_fdb_entry *f)
{
- hlist_del(&f->hlist);
+ hlist_del_rcu(&f->hlist);
if (!f->is_static)
list_del(&f->age_list);
@@ -85,7 +85,7 @@
struct net_bridge *br = p->br;
int i;
- write_lock_bh(&br->hash_lock);
+ spin_lock_bh(&br->hash_lock);
/* Search all chains since old address/hash is unknown */
for (i = 0; i < BR_HASH_SIZE; i++) {
@@ -117,7 +117,7 @@
fdb_insert(br, p, newadd...
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
...queue_xmit(skb);
}
}
Index: wireless-dev/net/bridge/br_if.c
===================================================================
--- wireless-dev.orig/net/bridge/br_if.c
+++ wireless-dev/net/bridge/br_if.c
@@ -227,6 +227,7 @@ static struct net_device *new_bridge_dev
INIT_LIST_HEAD(&br->age_list);
br_stp_timer_init(br);
+ br_vlan_init(&br->vlan);
return dev;
}
@@ -278,6 +279,7 @@ static struct net_bridge_port *new_nbp(s
p->state = BR_STATE_DISABLED;
INIT_WORK(&p->carrier_check, port_carrier_check, dev);
br_stp_port_timer_init(p);
+ br_vlan_init(&p->vl...