aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2019-11-09 19:52:33 -0700
committerJens Axboe <[email protected]>2019-11-10 20:29:49 -0700
commit8e3cca12706231daf8daf90dbde59f1665135e48 (patch)
treeb16874f8a3afa054af6c1543eb0172b46b6a1e7e /net/switchdev/switchdev.c
parent46568e9be70ff8211d986685f08d919376c32998 (diff)
io_uring: convert accept4() -ERESTARTSYS into -EINTR
If we cancel a pending accept operating with a signal, we get -ERESTARTSYS returned. Turn that into -EINTR for userspace, we should not be return -ERESTARTSYS. Fixes: 17f2fe35d080 ("io_uring: add support for IORING_OP_ACCEPT") Reported-by: Hrvoje Zeba <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions