summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2024-06-05 10:20:57 +0300
committerDavid S. Miller <davem@davemloft.net>2024-06-07 14:20:28 +0300
commit12cda920212a49fa22d9e8b9492ac4ea013310a4 (patch)
treee3e46182c019a6cab58b623cc9d8f9fe608ffa7f /tools/perf/scripts/python/syscall-counts.py
parentb472b996a43404a912c5cb4f27050022fdbce10c (diff)
downloadlinux-12cda920212a49fa22d9e8b9492ac4ea013310a4.tar.xz
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 <liuyonglong@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions