io_uring: fix missing msg_name assignment
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 12 Jul 2020 10:23:08 +0000 (13:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2020 06:13:29 +0000 (08:13 +0200)
commit2ceb2995e1a6c5c241eedb50a6ac9ac5e305d801
treef425267160379f5fc460c65d983b420e76b1835d
parent939498a0da7eb8cd2040cf3ee5ab43620a9c3d53
io_uring: fix missing msg_name assignment

commit dd821e0c95a64b5923a0c57f07d3f7563553e756 upstream.

Ensure to set msg.msg_name for the async portion of send/recvmsg,
as the header copy will copy to/from it.

Cc: stable@vger.kernel.org # v5.5+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c