Fix: lost packet accounting always lost on snapshot
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 25 Jul 2017 19:23:49 +0000 (15:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Jul 2017 21:40:34 +0000 (17:40 -0400)
commitddc93ee4c528738932c2369715c0448bfd7ff023
tree2cf7f7377e801cebdf9071e45a26fb3e8a2fbeef
parent56c3ec9ea83605c2e145d3d268fc9ffd005d8f94
Fix: lost packet accounting always lost on snapshot

Because of the continue when we fail to get a subbuff, the lost_packet
count is always reset to 0 before we can account it in the channel. Now
we account it directly before the continue.

Reported-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c
This page took 0.027102 seconds and 4 git commands to generate.