search for: br_hold_tim

Displaying 3 results from an estimated 3 matches for "br_hold_tim".

Did you mean: br_hold_time
2007 Apr 18
4
[Bridge] [Patch] [2.6.7] Bridge - Fix BPDU message_age
...imer.expires - jiffies) + 1; } bpdu.max_age = br->max_age; bpdu.hello_time = br->hello_time; bpdu.forward_delay = br->forward_delay; - br_send_config_bpdu(p, &bpdu); - - p->topology_change_ack = 0; - p->config_pending = 0; - - mod_timer(&p->hold_timer, jiffies + BR_HOLD_TIME); + if (bpdu.message_age < br->max_age) { + br_send_config_bpdu(p, &bpdu); + p->topology_change_ack = 0; + p->config_pending = 0; + mod_timer(&p->hold_timer, jiffies + BR_HOLD_TIME); + } } /* called under bridge lock */
2007 Apr 18
0
[Bridge] [PATCH 2.6] Fix message age in bridge STP config packets
...ies) + + MESSAGE_AGE_INCR; } bpdu.max_age = br->max_age; bpdu.hello_time = br->hello_time; bpdu.forward_delay = br->forward_delay; - br_send_config_bpdu(p, &bpdu); - - p->topology_change_ack = 0; - p->config_pending = 0; - - mod_timer(&p->hold_timer, jiffies + BR_HOLD_TIME); + if (bpdu.message_age < br->max_age) { + br_send_config_bpdu(p, &bpdu); + p->topology_change_ack = 0; + p->config_pending = 0; + mod_timer(&p->hold_timer, jiffies + BR_HOLD_TIME); + } } /* called under bridge lock */
2007 Apr 18
0
[Bridge] Timer problem
...(&p->message_age_timer); br_message_age_timer_expired(p); } if (br_timer_has_expired(&p->forward_delay_timer, p->br->forward_delay)) { br_timer_clear(&p->forward_delay_timer); br_forward_delay_timer_expired(p); } if (br_timer_has_expired(&p->hold_timer, BR_HOLD_TIME)) { br_timer_clear(&p->hold_timer); br_hold_timer_expired(p); } if (br_timer_has_expired(&p->loss_timer, (1*HZ))) // This condition is never true !? { printk(KERN_INFO "On a perdu la connection \n"); br_timer_clear(&p->loss_timer); br_loss_timer_expire...