mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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 <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Fixes: c1318b39c7 ("tls: Add opt-in zerocopy mode of sendfile()")
Tested-by: Adrien Moulin <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Acked-by: Maxim Mikityanskiy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>