]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: tls, update curr on splice as well
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 6 Dec 2023 23:27:05 +0000 (15:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Jan 2024 17:51:24 +0000 (18:51 +0100)
commitba5efd8544fa62ae85daeb36077468bf2ce974ab
tree90cf254d8bad087bb74ed3f086a85ec5ac0ac66d
parent06bb52d2efb38d925a4170b335c26cab665913bc
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.

Fixes: d829e9c4112b ("tls: convert to generic sk_msg interface")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Reported-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/r/20231206232706.374377-2-john.fastabend@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/tls/tls_sw.c