diff options
| author | Hans Zhang <18255117159@163.com> | 2026-05-22 00:18:18 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-18 11:50:55 -0500 |
| commit | a6a64e150f12ad5391e0a0d60f6a3d119b06ce50 (patch) | |
| tree | abf0437c640789d4e8c92a8d1ad0f3fe68bdfbe3 /include/linux/workqueue_api.h | |
| parent | 26335696498ab502e907a556e97c7039bc80a87e (diff) | |
PCI: iproc: Protect root bus removal with rescan lock
Hold the pci_rescan_remove_lock lock while stopping and removing a root bus
to avoid racing with concurrent rescan or hotplug operations triggered via
sysfs. Such races may lead to use-after-free issues or system crashes.
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260521161822.132996-6-18255117159@163.com
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
