acrn-kernel/net/tls
Jakub Kicinski 715396cca2 net: tls: fix device-offloaded sendpage straddling records
[ Upstream commit e539a105f9 ]

Adrien reports that incorrect data is transmitted when a single
page straddles multiple records. We would transmit the same
data in all iterations of the loop.

Reported-by: Adrien Moulin <amoulin@corp.free.fr>
Link: https://lore.kernel.org/all/61481278.42813558.1677845235112.JavaMail.zimbra@corp.free.fr
Fixes: c1318b39c7 ("tls: Add opt-in zerocopy mode of sendfile()")
Tested-by: Adrien Moulin <amoulin@corp.free.fr>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Acked-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Link: https://lore.kernel.org/r/20230304192610.3818098-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-17 08:50:26 +01:00
..
Kconfig
Makefile
tls.h
tls_device.c net: tls: fix device-offloaded sendpage straddling records 2023-03-17 08:50:26 +01:00
tls_device_fallback.c
tls_main.c net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf() 2023-03-17 08:50:23 +01:00
tls_proc.c
tls_strp.c
tls_sw.c tls: rx: fix return value for async crypto 2023-03-17 08:50:22 +01:00
tls_toe.c
trace.c
trace.h