ping

On Thu, Nov 5, 2015 at 12:02 PM, Bill Fischofer <[email protected]>
wrote:

> Signed-off-by: Bill Fischofer <[email protected]>
> ---
>  platform/linux-generic/odp_pool.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/platform/linux-generic/odp_pool.c
> b/platform/linux-generic/odp_pool.c
> index 76a4aa5..9fd64d6 100644
> --- a/platform/linux-generic/odp_pool.c
> +++ b/platform/linux-generic/odp_pool.c
> @@ -540,6 +540,8 @@ void odp_buffer_free(odp_buffer_t buf)
>         odp_buffer_hdr_t *buf_hdr = odp_buf_to_hdr(buf);
>         pool_entry_t *pool = odp_buf_to_pool(buf_hdr);
>
> +       ODP_ASSERT(buf_hdr->allocator != ODP_FREEBUF);
> +
>         if (odp_unlikely(pool->s.low_wm_assert))
>                 ret_buf(&pool->s, buf_hdr);
>         else
> --
> 2.1.4
>
>
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to