On Thu, 29 Sep 2022 09:39:10 +0200, Stefan Metzmacher wrote:
I hit a very bad problem during my tests of SENDMSG_ZC. BUG(); in first_iovec_segment() triggered very easily. The problem was io_setup_async_msg() in the partial retry case, which seems to happen more often with _ZC.
iov_iter_iovec_advance() may change i->iov in order to have i->iov_offset being only relative to the first element.
[...]
Applied, thanks!
[1/1] io_uring/net: fix fast_iov assignment in io_setup_async_msg() commit: 3e4cb6ebbb2bad201c1186bc0b7e8cf41dd7f7e6
Best regards,