aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorYi Li <[email protected]>2020-08-26 13:11:50 +0800
committerDavid S. Miller <[email protected]>2020-08-26 07:26:41 -0700
commita156998fc92d3859c8e820f1583f6d0541d643c3 (patch)
tree8171b65c1617da02a00c217c3b366e81a608a418 /lib/mpi/mpiutil.c
parent0a3445b82e0d66520345b7ef2b82df341a8c6db0 (diff)
net: hns3: Fix for geneve tx checksum bug
when skb->encapsulation is 0, skb->ip_summed is CHECKSUM_PARTIAL and it is udp packet, which has a dest port as the IANA assigned. the hardware is expected to do the checksum offload, but the hardware will not do the checksum offload when udp dest port is 6081. This patch fixes it by doing the checksum in software. Reported-by: Li Bing <[email protected]> Signed-off-by: Yi Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions