net: tls, add test to capture error on large splice
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 13 Jan 2024 00:32:58 +0000 (16:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jan 2024 12:17:14 +0000 (12:17 +0000)
commit034ea1305e659ddae44c19ba8449166fec318e2d
tree67c140bdf25c646b83916f7341b2363127171628
parentdc9dfc8dc629e42f2234e3327b75324ffc752bc9
net: tls, add test to capture error on large splice

syzbot found an error with how splice() is handled with a msg greater
than 32. This was fixed in previous patch, but lets add a test for
it to ensure it continues to work.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c