diff options
author | David Howells <dhowells@redhat.com> | 2023-06-06 14:08:55 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-06-08 13:42:34 +0200 |
commit | fb800fa4c1f5aee1238267252e88a7837e645c02 (patch) | |
tree | 8546849db78f4fa22d35ff65b146d0ed18cbfdeb /crypto/algif_hash.c | |
parent | bf63e250c4b1f21696599e0ab7117f4429dcbdc0 (diff) |
crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGES
Convert af_alg_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: Herbert Xu <herbert@gondor.apana.org.au>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
cc: linux-crypto@vger.kernel.org
cc: netdev@vger.kernel.org
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions