aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-06-12 13:51:36 -0600
committerJens Axboe <axboe@kernel.dk>2023-06-13 19:26:42 -0600
commitcac9e4418f4cbd548ccb065b3adcafe073f7f7d2 (patch)
treeef49d2c9a2399b2b577b11261cfd3618a588e345 /scripts/generate_rust_analyzer.py
parentMerge tag 'nios2_fix_v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux (diff)
downloadwireguard-linux-cac9e4418f4cbd548ccb065b3adcafe073f7f7d2.tar.xz
wireguard-linux-cac9e4418f4cbd548ccb065b3adcafe073f7f7d2.zip
io_uring/net: save msghdr->msg_control for retries
If the application sets ->msg_control and we have to later retry this command, or if it got queued with IOSQE_ASYNC to begin with, then we need to retain the original msg_control value. This is due to the net stack overwriting this field with an in-kernel pointer, to copy it in. Hitting that path for the second time will now fail the copy from user, as it's attempting to copy from a non-user address. Cc: stable@vger.kernel.org # 5.10+ Link: https://github.com/axboe/liburing/issues/880 Reported-and-tested-by: Marek Majkowski <marek@cloudflare.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions