]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: separate out the msghdr copy from ___sys_{send,recv}msg()
authorJens Axboe <axboe@kernel.dk>
Mon, 25 Nov 2019 21:27:34 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2019 21:33:02 +0000 (22:33 +0100)
commit115107fd0959052a1043718d4ec9b6dedcb1904b
tree35aa81e5130bc021ff842ab0cd9910f28d6141c5
parentad700a7eb17dc3fc1f96152b4291532e5ba5a7ad
net: separate out the msghdr copy from ___sys_{send,recv}msg()

[ Upstream commit 4257c8ca13b084550574b8c9a667d9c90ff746eb ]

This is in preparation for enabling the io_uring helpers for sendmsg
and recvmsg to first copy the header for validation before continuing
with the operation.

There should be no functional changes in this patch.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/socket.c