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>
Tue, 1 Aug 2017 21:15:08 +0000 (17:15 -0400)
commit3daf8c9be3ccaa544befe6703de057c957bd0a02
treed5624c1f9a60931e24f663701a29a5a96c925d02
parent918b68890dd611699d8401664be59b59e3ae7501
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.024511 seconds and 4 git commands to generate.