diff options
author | Jian Shen <[email protected]> | 2018-09-19 18:29:56 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-19 21:20:22 -0700 |
commit | 49dd80541c75c2f21c28bbbdd958e993b55bf97b (patch) | |
tree | ff5c685869c97555c7cc2d27a21e54e68fa2864f /tools/perf/scripts/python/syscall-counts.py | |
parent | 37dc9cdbdc1bd64bd3b6ea285a9c2e811404dc82 (diff) |
net: hns3: Clear client pointer when initialize client failed or unintialize finished
If initialize client failed or finish uninitializing client, we should
clear the client pointer. It may cause unexpected result when use
uninitialized client. Meanwhile, we also should check whether client
exist when uninitialize it.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions