Fix: ring buffer: get_subbuf() checks should be performed on "consumed" parameter
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 3 Jul 2013 22:33:37 +0000 (18:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 3 Jul 2013 22:35:45 +0000 (18:35 -0400)
commit6c81e331ddb0f93a8df868758adb53fda3102736
tree7567eb1eef7f53eac904b7811a5b121bacec669e
parentec508898e6d231432cea5727dc7d9a7af418f989
Fix: ring buffer: get_subbuf() checks should be performed on "consumed" parameter

This triggers lots of false-positive -EAGAIN errors in flight recorder
snapshots.

Reported-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c
This page took 0.024804 seconds and 4 git commands to generate.