diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 13:11:22 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-23 20:48:27 -0700 |
commit | 7ac7c987850c3ec617c778f7bd871804dc1c648d (patch) | |
tree | 8bd31ab46f17e8ff7f0519f1f2cd89475b797ec2 /net/unix/af_unix.c | |
parent | 6d8192bd69bb431ef6b2558be3b5746b706cd252 (diff) | |
download | linux-7ac7c987850c3ec617c778f7bd871804dc1c648d.tar.gz linux-7ac7c987850c3ec617c778f7bd871804dc1c648d.tar.bz2 linux-7ac7c987850c3ec617c778f7bd871804dc1c648d.zip |
udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES
Convert udp_sendpage() to use sendmsg() with MSG_SPLICE_PAGES rather than
directly splicing in the pages itself.
This allows ->sendpage() to be replaced by something that can handle
multiple multipage folios in a single transaction.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
cc: David Ahern <dsahern@kernel.org>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions