ofproto-dpif-upcall: Make miss handlers accumulate coverage counters.
authorBen Pfaff <blp@nicira.com>
Mon, 23 Sep 2013 17:24:05 +0000 (10:24 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Oct 2013 00:02:57 +0000 (17:02 -0700)
commitde80e4b65ba14c8d21b537470678fe0562ca79a8
tree34fc102f0a5daa58493b178f478f7cd13b7c8766
parente2afa7cd6820821e4c652818722d6120d7912399
ofproto-dpif-upcall: Make miss handlers accumulate coverage counters.

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 <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c