tls: Allow MSG_SPLICE_PAGES but treat it as normal sendmsg
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Jun 2023 18:19:08 +0000 (19:19 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Jun 2023 02:40:30 +0000 (19:40 -0700)
commit81840b3b91aad06053ad2712f3da5d0448eeb0e8
tree124254dd01a8e900de67318a73d2027334ecb289
parent4fe38acdac8a71f7cccf347a2e9902bc818ecef7
tls: Allow MSG_SPLICE_PAGES but treat it as normal sendmsg

Allow MSG_SPLICE_PAGES to be specified to sendmsg() but treat it as normal
sendmsg for now.  This means the data will just be copied until
MSG_SPLICE_PAGES is handled.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Chuck Lever <chuck.lever@oracle.com>
cc: Boris Pismenny <borisp@nvidia.com>
cc: John Fastabend <john.fastabend@gmail.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_device.c
net/tls/tls_sw.c