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:10:33 +0000 (17:10 -0400)
commit6e1f2e925c94bb8e16868e2f29523e4318ec1eba
treec83cfd6be844fc43de7401d9c30e68e9b73da7e0
parent70fa06448b863b3fdfa1407f61a2193505e6f9fb
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.025296 seconds and 4 git commands to generate.