linux-stable/drivers/net/ethernet/hisilicon/hns3
Yunsheng Lin 534b622919 net: hns3: check the return of skb_checksum_help()
commit 9bb5a49542 upstream.

Currently skb_checksum_help()'s return is ignored, but it may
return error when it fails to allocate memory when linearizing.

So adds checking for the return of skb_checksum_help().

Fixes: 76ad4f0ee747("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Fixes: 3db084d28dc0("net: hns3: Fix for vxlan tx checksum bug")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-03 09:00:51 +02:00
..
hns3pf net: hns3: fix incorrect resp_msg issue 2021-06-03 09:00:49 +02:00
hns3vf net: hns3: clear VF down state bit before request link status 2021-04-14 08:42:11 +02:00
hclge_mbx.h net: hns3: fix the number of queues actually used by ARQ 2021-01-17 14:16:54 +01:00
hnae3.c
hnae3.h net: hns3: dump tqp enable status in debugfs 2020-09-29 13:14:24 -07:00
hns3_dcbnl.c
hns3_debugfs.c net: hns3: dump tqp enable status in debugfs 2020-09-29 13:14:24 -07:00
hns3_enet.c net: hns3: check the return of skb_checksum_help() 2021-06-03 09:00:51 +02:00
hns3_enet.h net: hns3: add handling for xmit skb with recursive fraglist 2021-05-19 10:12:54 +02:00
hns3_ethtool.c net: hns3: add handling for xmit skb with recursive fraglist 2021-05-19 10:12:54 +02:00
hns3_trace.h net: hns3: rename trace event hns3_over_8bd 2020-09-29 13:14:24 -07:00
Makefile