summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZigit Zo <zuozhijie@bytedance.com>2025-07-16 19:57:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-24 08:58:39 +0200
commit3859f137b3c1fa1f0031d54263234566bdcdd7aa (patch)
tree13754f4fa9f0fa6fe395f2cef0e2ace9d9e4d6da /tools/perf/scripts/python/stackcollapse.py
parent4bd2795f93abb919ff4b26f2ded3693970637097 (diff)
downloadkernel-3859f137b3c1fa1f0031d54263234566bdcdd7aa.tar.gz
virtio-net: fix recursived rtnl_lock() during probe()
[ Upstream commit be5dcaed694e4255dc02dd0acfe036708c535def ] The deadlock appears in a stack trace like: virtnet_probe() rtnl_lock() virtio_config_changed_work() netdev_notify_peers() rtnl_lock() It happens if the VMM sends a VIRTIO_NET_S_ANNOUNCE request while the virtio-net driver is still probing. The config_work in probe() will get scheduled until virtnet_open() enables the config change notification via virtio_config_driver_enable(). Fixes: df28de7b0050 ("virtio-net: synchronize operstate with admin state on up/down") Signed-off-by: Zigit Zo <zuozhijie@bytedance.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://patch.msgid.link/20250716115717.1472430-1-zuozhijie@bytedance.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions