summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorYi Li <yili@winhong.com>2020-08-26 13:11:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 13:47:46 +0200
commit983efe173e37f9b0e5b0243560d6020ddee7a1d9 (patch)
tree815da4b29d24415c5a5c8380af6c3295140c8d96 /fs/xfs
parentcb54984b79892b015ad766d62af0e5cfa3747fe8 (diff)
net: hns3: Fix for geneve tx checksum bug
[ Upstream commit a156998fc92d3859c8e820f1583f6d0541d643c3 ] 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 <libing@winhong.com> Signed-off-by: Yi Li <yili@winhong.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions