mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 21:34:39 +00:00
When clockevents_program_event() is given an expire time in the past, it does not update dev->next_event, so this looping code would loop forever once the first in-the-past expiration time was used. Keep advancing "next" locally to fix this bug. Acked-by: Thomas Gleixner <[email protected]> Signed-off-by: David S. Miller <[email protected]>