diff options
author | Yonglong Liu <[email protected]> | 2024-06-05 15:20:57 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-06-07 12:20:28 +0100 |
commit | 12cda920212a49fa22d9e8b9492ac4ea013310a4 (patch) | |
tree | e3e46182c019a6cab58b623cc9d8f9fe608ffa7f /scripts/gdb/linux/modules.py | |
parent | b472b996a43404a912c5cb4f27050022fdbce10c (diff) |
net: hns3: fix kernel crash problem in concurrent scenario
When link status change, the nic driver need to notify the roce
driver to handle this event, but at this time, the roce driver
may uninit, then cause kernel crash.
To fix the problem, when link status change, need to check
whether the roce registered, and when uninit, need to wait link
update finish.
Fixes: 45e92b7e4e27 ("net: hns3: add calling roce callback function when link status change")
Signed-off-by: Yonglong Liu <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions