diff options
author | Jens Axboe <[email protected]> | 2023-06-19 09:41:05 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-21 07:34:07 -0600 |
commit | 78d0d2063bab954d19a1696feae4c7706a626d48 (patch) | |
tree | 9c8572efadb68af87e4eed514b8d7d2b0f57c5c4 /tools/perf/scripts/python/intel-pt-events.py | |
parent | b1dc492087db0f2e5a45f1072a743d04618dd6be (diff) |
io_uring/net: disable partial retries for recvmsg with cmsg
We cannot sanely handle partial retries for recvmsg if we have cmsg
attached. If we don't, then we'd just be overwriting the initial cmsg
header on retries. Alternatively we could increment and handle this
appropriately, but it doesn't seem worth the complication.
Move the MSG_WAITALL check into the non-multishot case while at it,
since MSG_WAITALL is explicitly disabled for multishot anyway.
Link: https://lore.kernel.org/io-uring/[email protected]/
Cc: [email protected] # 5.10+
Reported-by: Stefan Metzmacher <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions