On 9/14/21 8:38 AM, Xiaoguang Wang wrote: > Move get_timespec() section in io_cqring_wait() before the sigmask > saving, otherwise we'll fail to restore sigmask once get_timespec() > returns error. Applied, thanks! I added a: Fixes: c73ebb685fb6 ("io_uring: add timeout support for io_uring_enter()") to the commit since that's when it got broken, that'll help with stable backports. Not that it's a _huge_ issue, it basically means the application is broken anyway. -- Jens Axboe