diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2021-05-18 14:36:03 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-18 23:41:04 +0300 |
| commit | 9bb5a495424fd4bfa672eb1f31481248562fa156 (patch) | |
| tree | 0c9a7851fc4ca61afdaeb66f848775a7f631b14f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 73a13d8dbe33e53a12400f2be0f5af169816c67f (diff) | |
| download | linux-9bb5a495424fd4bfa672eb1f31481248562fa156.tar.xz | |
net: hns3: check the return of skb_checksum_help()
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
