projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timeval: Make time_init() static and remove calls to it.
[openvswitch]
/
ofproto
/
fail-open.c
diff --git
a/ofproto/fail-open.c
b/ofproto/fail-open.c
index a79c5b226ac6fed8370599c77707c5087b6a220d..a86ee391b12dbfc8d56c8cdb55b1fb27965de50e 100644
(file)
--- a/
ofproto/fail-open.c
+++ b/
ofproto/fail-open.c
@@
-21,6
+21,7
@@
#include "flow.h"
#include "mac-learning.h"
#include "odp-util.h"
#include "flow.h"
#include "mac-learning.h"
#include "odp-util.h"
+#include "ofp-util.h"
#include "ofpbuf.h"
#include "ofproto.h"
#include "pktbuf.h"
#include "ofpbuf.h"
#include "ofproto.h"
#include "pktbuf.h"
@@
-271,7
+272,7
@@
void
fail_open_wait(struct fail_open *fo)
{
if (fo->next_bogus_packet_in != LLONG_MAX) {
fail_open_wait(struct fail_open *fo)
{
if (fo->next_bogus_packet_in != LLONG_MAX) {
- poll_timer_wait
(fo->next_bogus_packet_in - time_msec()
);
+ poll_timer_wait
_until(fo->next_bogus_packet_in
);
}
}
}
}