diff options
author | Jian Shen <[email protected]> | 2019-07-29 10:53:22 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-29 08:23:40 -0700 |
commit | 44950d28cccf3049696e02d0adebb10e112cee24 (patch) | |
tree | b00400748939da1d3e048a42524094871dc29c60 /tools/perf/scripts/python | |
parent | dda91bd7abb09771e872b7b117f6f8af594bbb3f (diff) |
net: hns3: add reset checking before set channels
hns3_set_channels() should check the resetting status firstly,
since the device will reinitialize when resetting. If the
reset has not completed, the hns3_set_channels() may access
invalid memory.
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions