skbuff: carry external ubuf_info in msghdr
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 12 Jul 2022 20:52:29 +0000 (21:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jul 2022 21:20:42 +0000 (14:20 -0700)
commit7c701d92b2b5e5175dbfec875816474b802b0c45
tree974616dd04936290206960cea47e7366b1bc0392
parent2e07a521e1e424787af3bfc59615de4220856c35
skbuff: carry external ubuf_info in msghdr

Make possible for network in-kernel callers like io_uring to pass in a
custom ubuf_info by setting it in a new field of struct msghdr.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/socket.h
net/compat.c
net/socket.c