summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/hashtab.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-03-04 20:26:10 +0100
committerJakub Kicinski <kuba@kernel.org>2023-03-06 22:26:16 +0100
commite539a105f947b9db470fec39fe91d85fe737a432 (patch)
treedd8b55e205353a69c97920b750d9f7c7dd4bd782 /kernel/bpf/hashtab.c
parentnet: ethernet: mtk_eth_soc: fix RX data corruption issue (diff)
downloadlinux-e539a105f947b9db470fec39fe91d85fe737a432.tar.xz
linux-e539a105f947b9db470fec39fe91d85fe737a432.zip
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 <amoulin@corp.free.fr> Link: https://lore.kernel.org/all/61481278.42813558.1677845235112.JavaMail.zimbra@corp.free.fr Fixes: c1318b39c7d3 ("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>
Diffstat (limited to 'kernel/bpf/hashtab.c')
0 files changed, 0 insertions, 0 deletions