diff options
| author | Jens Axboe <[email protected]> | 2020-09-14 15:28:14 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-21 13:50:54 +0000 |
| commit | 8f3d749685e48c44dbe877ac9781079d85f914c8 (patch) | |
| tree | 2ab90bce49b10dd87a6e3b509ea6b48c5381b005 /net/switchdev/switchdev.c | |
| parent | io_uring: don't run task work on an exiting task (diff) | |
| download | kernel-8f3d749685e48c44dbe877ac9781079d85f914c8.tar.gz kernel-8f3d749685e48c44dbe877ac9781079d85f914c8.zip | |
io_uring: don't re-setup vecs/iter in io_resumit_prep() is already there
If we already have mapped the necessary data for retry, then don't set
it up again. It's a pointless operation, and we leak the iovec if it's
a large (non-stack) vec.
Fixes: b63534c41e20 ("io_uring: re-issue block requests that failed because of resources")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
