On 09/11/2015 03:25 AM, Bill Fischofer wrote: > Fix Bug https://bugs.linaro.org/show_bug.cgi?id=1803 by ensuring that > enqueues are directed at a buffer's target rather than origin queue. > > Signed-off-by: Bill Fischofer <[email protected]> Reviewed-by: Nicolas Morey-Chaisemartin <[email protected]> > --- > platform/linux-generic/odp_queue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/platform/linux-generic/odp_queue.c > b/platform/linux-generic/odp_queue.c > index ac933da..99a663d 100644 > --- a/platform/linux-generic/odp_queue.c > +++ b/platform/linux-generic/odp_queue.c > @@ -570,7 +570,7 @@ int odp_queue_enq(odp_queue_t handle, odp_event_t ev) > > int queue_enq_internal(odp_buffer_hdr_t *buf_hdr) > { > - return buf_hdr->origin_qe->s.enqueue(buf_hdr->target_qe, buf_hdr, > + return buf_hdr->target_qe->s.enqueue(buf_hdr->target_qe, buf_hdr, > buf_hdr->flags.sustain); > } >
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
