io_uring/net: reshuffle error handling
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 8 Sep 2022 12:20:29 +0000 (13:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:43 +0000 (10:30 -0600)
commit95eafc74be5e11f9dd6a11504c27321c515ce00f
treeb189122c17131bfeda07acf9a7145dffde753b82
parente9a884285484a098fd607496d565c3b4e4733f63
io_uring/net: reshuffle error handling

We should prioritise send/recv retry cases over failures, they're more
important. Shuffle -ERESTARTSYS after we handled retries.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d9059691b30d0963b7269fa4a0c81ee7720555e6.1662639236.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c