Skip to content
Snippets Groups Projects
Commit 6ee6efe3 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: io_uring: improve send/recv error handling


commit 7297ce3d upstream.

Hide all error handling under common if block, removes two extra ifs on
the success path and keeps the handling more condensed.

Change-Id: If6864c8ddd06bc853cef6b543fc06cf99d9ad147
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/5761545158a12968f3caf30f747eea65ed75dfc1.1637524285.git.asml.silence@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Bug: 268174392
(cherry picked from commit abdc16c8)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 61672e4c
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment