Commit 1f1f3df7 authored by Cui Mingrui's avatar Cui Mingrui Committed by Zheng Zengkai
Browse files

sw64: fix ip checksum calculation

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56W9F



--------------------------------

When dest address is not aligned, the checksum result is incorrect. This
is caused by wrong usage of insll and inshl.

Signed-off-by: default avatarCui Mingrui <cuimingrui@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent f5900164
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment