diff options
| author | Hans Zhang <18255117159@163.com> | 2026-05-22 00:18:17 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-18 11:50:55 -0500 |
| commit | 20b7aba83c0eac13bf9d46b0fa7575df5765f205 (patch) | |
| tree | 3ccddc4229d8fdde0293bfd2f4ca41d4a1b8efda /include/linux/workqueue_api.h | |
| parent | a8759c8ac48c0419f5899e95a6ffc611b07c965b (diff) | |
PCI: brcmstb: 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-5-18255117159@163.com
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
