diff options
| author | Huazhong Tan <[email protected]> | 2018-12-18 19:37:48 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-18 12:01:00 -0800 |
| commit | cda69d244585bc4497d3bb878c22fe2b6ad647c1 (patch) | |
| tree | 903f131c4137f8c608615cec87ea42198dcfa7dd /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 77c7a7b3e7da2c97c182c7e57a16d16c6b555c24 (diff) | |
net: hns3: fix error handling int the hns3_get_vector_ring_chain
When hns3_get_vector_ring_chain() failed in the
hns3_nic_init_vector_data(), it should do the error handling instead
of return directly.
Also, cur_chain should be freed instead of chain and head->next should
be set to NULL in error handling of hns3_get_vector_ring_chain.
This patch fixes them.
Fixes: 73b907a083b8 ("net: hns3: bugfix for buffer not free problem during resetting")
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions