Skip to content

Commit 12eaead

Browse files
author
CKI KWF Bot
committed
Merge: PCI/pwrctrl: Cancel outstanding rescan work when unregistering
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1197 ``` JIRA: https://issues.redhat.com/browse/RHEL-103213 CVE: CVE-2025-38137 Signed-off-by: Myron Stowe <mstowe@redhat.com> ``` Approved-by: John W. Linville <linville@redhat.com> Approved-by: Jennifer Berringer <jberring@redhat.com> Approved-by: Tony Camuso <tcamuso@redhat.com> Approved-by: David Arcari <darcari@redhat.com> Approved-by: Steve Best <sbest@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2 parents 7af4046 + 2e938c9 commit 12eaead

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/pwrctrl/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ EXPORT_SYMBOL_GPL(pci_pwrctrl_device_set_ready);
101101
*/
102102
void pci_pwrctrl_device_unset_ready(struct pci_pwrctrl *pwrctrl)
103103
{
104+
cancel_work_sync(&pwrctrl->work);
105+
104106
/*
105107
* We don't have to delete the link here. Typically, this function
106108
* is only called when the power control device is being detached. If

0 commit comments

Comments
 (0)