]> git.baikalelectronics.ru Git - kernel.git/commit
net: Allow custom iter handler in msghdr
authorDavid Ahern <dsahern@kernel.org>
Tue, 12 Jul 2022 20:52:30 +0000 (21:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jul 2022 21:20:54 +0000 (14:20 -0700)
commit87ca2c61921273f1e123d93487c21fe7da2c053e
tree19911b54eaa143e16d4e2a1af73b6e556f404e99
parentca8822a82e227d5f75e6649facf2f143c8fbb68d
net: Allow custom iter handler in msghdr

Add support for custom iov_iter handling to msghdr. The idea is that
in-kernel subsystems want control over how an SG is split.

Signed-off-by: David Ahern <dsahern@kernel.org>
[pavel: move callback into msghdr]
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
include/linux/socket.h
net/core/datagram.c
net/core/skbuff.c