aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_bpf.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2023-05-22 12:11:14 +0000
committerJakub Kicinski <[email protected]>2023-05-24 03:48:27 +0000
commitc5c37af6ecad955acad82a440b812eb9cd73f77f (patch)
tree39016f8b86865114ebce99e0a4a087d10a47a420 /net/ipv4/tcp_bpf.c
parenttcp: Support MSG_SPLICE_PAGES (diff)
downloadkernel-c5c37af6ecad955acad82a440b812eb9cd73f77f.tar.gz
kernel-c5c37af6ecad955acad82a440b812eb9cd73f77f.zip
tcp: Convert do_tcp_sendpages() to use MSG_SPLICE_PAGES
Convert do_tcp_sendpages() to use sendmsg() with MSG_SPLICE_PAGES rather than directly splicing in the pages itself. do_tcp_sendpages() can then be inlined in subsequent patches into its callers. This allows ->sendpage() to be replaced by something that can handle multiple multipage folios in a single transaction. Signed-off-by: David Howells <[email protected]> cc: David Ahern <[email protected]> cc: Jens Axboe <[email protected]> cc: Matthew Wilcox <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_bpf.c')
0 files changed, 0 insertions, 0 deletions