X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Ffail-open.c;h=b028493d6b94b58059f43f509d8dadae4d5ae6c5;hb=609d182a8161e9e87300cc680ff55c50d02b6e22;hp=a79c5b226ac6fed8370599c77707c5087b6a220d;hpb=76ce9432393df462e2030036021ea60096a734d4;p=openvswitch diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c index a79c5b22..b028493d 100644 --- a/ofproto/fail-open.c +++ b/ofproto/fail-open.c @@ -271,7 +271,7 @@ void 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); } }