aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-28 00:51:49 +0100
committerJens Axboe <axboe@kernel.dk>2022-09-28 07:53:15 -0600
commit6ae91ac9a6aa7d6005c3c6d0f4d263fbab9f377f (patch)
tree301e384020026c1d18d0a2b0f930200c2d8f6c47 /scripts/generate_rust_analyzer.py
parentio_uring/rw: don't lose short results on io_setup_async_rw() (diff)
downloadwireguard-linux-6ae91ac9a6aa7d6005c3c6d0f4d263fbab9f377f.tar.xz
wireguard-linux-6ae91ac9a6aa7d6005c3c6d0f4d263fbab9f377f.zip
io_uring/net: don't skip notifs for failed requests
We currently only add a notification CQE when the send succeded, i.e. cqe.res >= 0. However, it'd be more robust to do buffer notifications for failed requests as well in case drivers decide do something fanky. Always return a buffer notification after initial prep, don't hide it. This behaviour is better aligned with documentation and the patch also helps the userspace to respect it. Cc: stable@vger.kernel.org # 6.0 Suggested-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9c8bead87b2b980fcec441b8faef52188b4a6588.1664292100.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions