diff options
| author | Jens Axboe <[email protected]> | 2023-03-20 17:13:49 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-03-21 02:44:45 +0000 |
| commit | 74e2e17ee1f8d8a0928b90434ad7e2df70f8483e (patch) | |
| tree | a0cddd8f0a4cef758dc19c2617f98ff459b7db07 /tools/perf/scripts/python/compaction-times.py | |
| parent | io_uring/rsrc: fix folio accounting (diff) | |
| download | kernel-74e2e17ee1f8d8a0928b90434ad7e2df70f8483e.tar.gz kernel-74e2e17ee1f8d8a0928b90434ad7e2df70f8483e.zip | |
io_uring/net: avoid sending -ECONNABORTED on repeated connection requests
Since io_uring does nonblocking connect requests, if we do two repeated
ones without having a listener, the second will get -ECONNABORTED rather
than the expected -ECONNREFUSED. Treat -ECONNABORTED like a normal retry
condition if we're nonblocking, if we haven't already seen it.
Cc: [email protected]
Fixes: 3fb1bd688172 ("io_uring/net: handle -EINPROGRESS correct for IORING_OP_CONNECT")
Link: https://github.com/axboe/liburing/issues/828
Reported-by: Hui, Chunyang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
