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>
Mon, 31 Jul 2017 17:17:14 +0000 (13:17 -0400)
commit2947da290dc03bd6b5919241aaa8fcf96ba11525
tree0130d21203cfad2585efa23f182e6af77836c1f3
parentedc97aeb0f971684fe7c50912ead99a6a2a9e190
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.027218 seconds and 5 git commands to generate.