]> Git Repo - linux.git/commit
net: copy from user before calling __copy_msghdr
authorDylan Yudaken <[email protected]>
Thu, 14 Jul 2022 11:02:56 +0000 (04:02 -0700)
committerJens Axboe <[email protected]>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commit7fa875b8e53c288d616234b9daf417b0650ce1cc
tree90e39aaad21bdbfe46b354283a988039c5c15c0e
parent6d2f75a0cf3048ef38c48493f66a923353bf664b
net: copy from user before calling __copy_msghdr

this is in preparation for multishot receive from io_uring, where it needs
to have access to the original struct user_msghdr.

functionally this should be a no-op.

Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Dylan Yudaken <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
include/linux/socket.h
io_uring/net.c
net/socket.c
This page took 0.064758 seconds and 4 git commands to generate.