Honnappa Nagarahalli 68f7f31aaa timer: protect initialization with lock
rte_timer_subsystem_initialized is a global variable that can be
accessed by multiple processes simultaneously. Hence, any access
to rte_timer_subsystem_initialized should be protected by
rte_mcfg_timer_lock.

Fixes: f9d6cd8bfe9e ("timer: fix resource leak in finalize")
Cc: stable@dpdk.org

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
2020-04-25 19:26:47 +02:00
..
2020-04-16 18:16:18 +02:00
2020-04-16 18:30:58 +02:00
2020-04-16 18:16:46 +02:00
2020-04-23 15:40:08 +02:00
2020-02-14 11:59:01 +01:00
2020-04-24 19:29:02 +02:00
2020-04-16 18:30:58 +02:00
2020-03-17 14:53:48 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:30:58 +02:00
2020-04-22 20:46:00 +02:00
2020-04-16 18:16:18 +02:00
2020-04-22 20:28:07 +02:00
2020-04-25 17:01:01 +02:00