mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
Commit69e3a6aa6b("LoongArch: Add checksum optimization for 64-bit system") would cause an undefined shift and an out-of-bounds read. Commit8bd795fedb("arm64: csum: Fix OoB access in IP checksum code for negative lengths") fixes the same issue on ARM64. Fixes:69e3a6aa6b("LoongArch: Add checksum optimization for 64-bit system") Co-developed-by: Wentao Guan <[email protected]> Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: Yuli Wang <[email protected]> Signed-off-by: Huacai Chen <[email protected]>