diff options
| author | Yunsheng Lin <[email protected]> | 2019-06-13 17:12:31 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-14 19:26:16 -0700 |
| commit | 3a30964a2eef6aabd3ab18b979ea0eacf1147731 (patch) | |
| tree | 45380eeb1562f54c1884feceab2f079a2d3b8a18 /tools/perf/scripts/python | |
| parent | 8f9eed1a8791b83eb1c54c261d68424717e4111e (diff) | |
net: hns3: delay ring buffer clearing during reset
The driver may not be able to disable the ring through firmware
when downing the netdev during reset process, which may cause
hardware accessing freed buffer problem.
This patch delays the ring buffer clearing to reset uninit
process because hardware will not access the ring buffer after
hardware reset is completed.
Fixes: bb6b94a896d4 ("net: hns3: Add reset interface implementation in client")
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Peng Li <[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