mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
2e07a521e1
commit
7c701d92b2
@@ -69,6 +69,7 @@ struct msghdr {
|
||||
unsigned int msg_flags; /* flags on received message */
|
||||
__kernel_size_t msg_controllen; /* ancillary data buffer length */
|
||||
struct kiocb *msg_iocb; /* ptr to iocb for async requests */
|
||||
struct ubuf_info *msg_ubuf;
|
||||
};
|
||||
|
||||
struct user_msghdr {
|
||||
|
||||
Reference in New Issue
Block a user