The miss handler threads do not call poll_block(), which calls coverage_clear() indirectly. This meant that coverage counters incremented by miss handler threads never got integrated into the global coverage counters and therefore did not show up in coverage logging or "ovs-appctl coverage/show" output. This commit fixes the problem.
Signed-off-by: Ben Pfaff <b...@nicira.com> --- ofproto/ofproto-dpif-upcall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index d75c61b..b210dec 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -410,6 +410,8 @@ udpif_miss_handler(void *arg) ovs_mutex_unlock(&handler->mutex); handle_miss_upcalls(handler->udpif, &misses); + + coverage_clear(); } } -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev