2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-26 20:08:08 +00:00

3 Commits

Author SHA1 Message Date
Ethan Jackson
dd986e09fd cfm: Replace recv_time with a flag.
This makes the code more obviously correct in my opinion.

This patch also removes timer_enabled_at() along with its only
user.
2011-05-13 13:09:27 -07:00
Ethan Jackson
76c9c42314 cfm: Fix broken fault logic.
If the last receive time for a remote MP was before the last fault
check, the CFM code would not declare a fault.  This is, of course,
exactly the wrong response.

Bug #5303.
2011-04-07 09:30:04 -07:00
Ethan Jackson
8650b07506 lib: Create new timer library.
Scattered throughout the code base we use long integers to
implement timers.  When the result of timer_msec() is greater than
the time stored, we preform some action.

This commit creates a new timer library intended to replace these
manually managed timers.  Code using the timer library will be more
obviously correct, and more consistent with other code using the
library.
2011-03-31 16:17:40 -07:00