Fix: don't flush-final for offset 0 if reader is on sub-buffer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Feb 2013 21:48:56 +0000 (16:48 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Feb 2013 21:48:56 +0000 (16:48 -0500)
commit74b9312477538922f7ce3194b37ed3e0c5d7ba16
tree5335be4da736c561f410710f23285c82f77d9874
parent79b18ef7332e6f75826f9b0e568b47394e98b127
Fix: don't flush-final for offset 0 if reader is on sub-buffer

Triggers rare sub-buffer corruption when a buffer is completely full and
a final flush is then performed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.024863 seconds and 4 git commands to generate.