net: tls, update curr on splice as well

commit c5a595000e2677e865a39f249c056bc05d6e55fd upstream.

The curr pointer must also be updated on the splice similar to how
we do this for other copy types.

BUG=b/322313908
TEST=None
RELEASE_NOTE=Fixed CVE-2024-0646 in the linux kernel.

cos-patch: security-high
Fixes: d829e9c4112b ("tls: convert to generic sk_msg interface")
Signed-off-by: John Fastabend <[email protected]>
Reported-by: Jann Horn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I05b5fd5dd9920ebfda32cebb69cd0fe37bc21c13
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/64282
Reviewed-by: Oleksandr Tymoshenko <[email protected]>
Tested-by: Cusky Presubmit Bot <[email protected]>
1 file changed