diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-05-01 19:56:03 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-01 15:08:37 -0400 |
| commit | 3ff504908f95093cc013a01d1cafb1f7fda0ab34 (patch) | |
| tree | 8c766164e7065b0f47efeda9e683f52a1ab818b8 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | net: hns3: Fix to support autoneg only for port attached with phy (diff) | |
| download | linux-3ff504908f95093cc013a01d1cafb1f7fda0ab34.tar.gz linux-3ff504908f95093cc013a01d1cafb1f7fda0ab34.zip | |
net: hns3: fix a dead loop in hclge_cmd_csq_clean
If head has invlid value then a dead loop can be triggered in
hclge_cmd_csq_clean. This patch adds sanity check for this case.
Fixes: 68c0a5c70614 ("net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd
Interface Support")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions
