timer: fix corruption with reset
timer: fix corruption with reset

When timer_cb resets another running timer on the same lcore,
the list of expired timers is chained to the pending-list.
This commit prevents a running timer from being reset
by not its own timer_cb.

Fixes: a4b7a5a45cf5 ("timer: fix race condition")

Signed-off-by: Hiroyuki Mikita <9215642d82fc54e096f299dc0dee9dc8796d434f@gmail.com>
Acked-by: Robert Sanford <78c116265a050e72ac1de5fd18bc071730d7dd67@akamai.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk