diff options
author | Jakub Kicinski <[email protected]> | 2023-03-04 11:26:10 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-03-06 13:26:16 -0800 |
commit | e539a105f947b9db470fec39fe91d85fe737a432 (patch) | |
tree | dd8b55e205353a69c97920b750d9f7c7dd4bd782 /lib/memory-notifier-error-inject.c | |
parent | 193250ace270fecd586dd2d0dfbd9cbd2ade977f (diff) |
net: tls: fix device-offloaded sendpage straddling records
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: c1318b39c7d3 ("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]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions