diff options
| author | 2023-05-31 12:04:22 +0100 | |
|---|---|---|
| committer | 2023-06-05 20:51:56 -0700 | |
| commit | 5bb3a5cb3e217b838e85661f527818e16ce61bec (patch) | |
| tree | 6a148c7950b18e5f9a7234610561b1d6bfde0d6a /lib/net_utils.c | |
| parent | kcm: Support MSG_SPLICE_PAGES (diff) | |
| download | wireguard-linux-5bb3a5cb3e217b838e85661f527818e16ce61bec.tar.xz wireguard-linux-5bb3a5cb3e217b838e85661f527818e16ce61bec.zip | |
kcm: Convert kcm_sendpage() to use MSG_SPLICE_PAGES
Convert kcm_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: Tom Herbert <tom@herbertland.com>
cc: Tom Herbert <tom@quantonium.net>
cc: Cong Wang <cong.wang@bytedance.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
