https://bugs.linaro.org/show_bug.cgi?id=3772

--- Comment #1 from Maxim Uvarov <maxim.uva...@linaro.org> ---
https://github.com/Linaro/odp/commit/2ee48570ed824d5caff4f8cb121b7c293a481820
refs/heads/master
2018-04-26T17:49:23+03:00
Petri Savolainen petri.savolai...@linaro.org
linux-gen: timer: fix timer pool index allocation

Timer pool index was allocated using atomic counters, so that
a combination of timer_pool_create and _destroy calls resulted
the same index to be allocated for multiple timers.

Use a global data structure protected with a lock to maintain
pool status.
Fixes: https://bugs.linaro.org/show_bug.cgi?id=3772

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

Reply via email to