diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-30 00:23:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-30 02:46:04 +0300 |
commit | 6f10ae8a155446248055c7ddd480ef40139af788 (patch) | |
tree | 4aeea504d3d096124174b444ee9d8b10332aa26f /include/uapi | |
parent | 46a525e199e4037516f7e498c18f065b09df32ac (diff) | |
download | linux-6f10ae8a155446248055c7ddd480ef40139af788.tar.xz |
io_uring/net: don't update msg_name if not provided
io_sendmsg_copy_hdr() may clear msg->msg_name if the userspace didn't
provide it, we should retain NULL in this case.
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/97d49f61b5ec76d0900df658cfde3aa59ff22121.1664486545.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions