aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiaoguang Wang <[email protected]>2021-09-14 14:38:52 +0000
committerJens Axboe <[email protected]>2021-09-14 14:47:00 +0000
commit44df58d441a94de40d52fca67dc60790daee4266 (patch)
tree662056341938d161f51576009d690b3511553610 /lib/netdev-notifier-error-inject.c
parentio_uring: pin SQPOLL data before unlocking ring lock (diff)
downloadkernel-44df58d441a94de40d52fca67dc60790daee4266.tar.gz
kernel-44df58d441a94de40d52fca67dc60790daee4266.zip
io_uring: fix missing sigmask restore in io_cqring_wait()
Move get_timespec() section in io_cqring_wait() before the sigmask saving, otherwise we'll fail to restore sigmask once get_timespec() returns error. Fixes: c73ebb685fb6 ("io_uring: add timeout support for io_uring_enter()") Signed-off-by: Xiaoguang Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions