android_kernel_sony_sdm845/net/tls
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Doron Roberts-Kedes ed1c7355bc UPSTREAM: tls: Fix improper revert in zerocopy_from_iter
The current code is problematic because the iov_iter is reverted and
never advanced in the non-error case. This patch skips the revert in the
non-error case. This patch also fixes the amount by which the iov_iter
is reverted. Currently, iov_iter is reverted by size, which can be
greater than the amount by which the iter was actually advanced.
Instead, only revert by the amount that the iter was advanced.

Fixes: 4718799817c5 ("tls: Fix zerocopy_from_iter iov handling")
Change-Id: I2b7ed6cbb67c03f67025cc9eed42b6d960106c69
Signed-off-by: Doron Roberts-Kedes <doronrk@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:58:27 +07:00
..
Kconfig UPSTREAM: net/tls: Add generic NIC offload infrastructure 2026-05-15 17:58:23 +07:00
Makefile UPSTREAM: net/tls: Add generic NIC offload infrastructure 2026-05-15 17:58:23 +07:00
tls_device.c UPSTREAM: tls: Fix copy-paste error in tls_device_reencrypt 2026-05-15 17:58:26 +07:00
tls_device_fallback.c UPSTREAM: tls: Add rx inline crypto offload 2026-05-15 17:58:26 +07:00
tls_main.c UPSTREAM: tls: Add rx inline crypto offload 2026-05-15 17:58:26 +07:00
tls_sw.c UPSTREAM: tls: Fix improper revert in zerocopy_from_iter 2026-05-15 17:58:27 +07:00