diff options
| author | Hans Zhang <18255117159@163.com> | 2026-05-22 00:18:20 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-18 11:50:55 -0500 |
| commit | 0bd9611587bb494c33566d825fe34b2705e4b167 (patch) | |
| tree | 6006d4dd3ed6f2de41304adc233a5539bbacf926 /include/linux/timerqueue.h | |
| parent | 4e4f9745f016c1631d00a4035b06f6e75d449e01 (diff) | |
PCI: rockchip: 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-8-18255117159@163.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
