diff options
| author | Breno Leitao <leitao@debian.org> | 2026-06-16 05:09:37 -0700 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-08-20 14:45:05 +0300 |
| commit | 7f64cb373f3dcc20d0e27e273dae10975a94d7e8 (patch) | |
| tree | fc5c3fd61fcd608547937910ff5e9701a9cdb071 /scripts/Makefile.thinlto | |
| parent | c554d4e534bbfc9d88ffdbfeea754b4111843608 (diff) | |
| download | linux-stable-7f64cb373f3dcc20d0e27e273dae10975a94d7e8.tar.gz linux-stable-7f64cb373f3dcc20d0e27e273dae10975a94d7e8.zip | |
efi/runtime-wrappers: check EFI_RUNTIME_SERVICES before using efi_rts_work
Move the EFI_RUNTIME_SERVICES check to the top of __efi_queue_work() and
return directly, so a caller that finds runtime services disabled returns
without touching the shared efi_rts_work. No functional change.
This prepares for bounding the wait, where a timeout will clear
EFI_RUNTIME_SERVICES while the leaked worker still owns efi_rts_work; a
later caller must then bail out before reinitialising it.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
