]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Unload vetoed drivers by image handle rather than driver handle
authorMichael Brown <mcb30@ipxe.org>
Fri, 23 Jun 2023 15:08:25 +0000 (16:08 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 23 Jun 2023 15:51:10 +0000 (16:51 +0100)
commitf0b1025503205515d5b105c37774596623481242
tree95dfeadb51e62b2eab2acf2b1cec29f5471e2fe6
parentc832580f197dac013edb72ce031570d66a9448f6
[efi] Unload vetoed drivers by image handle rather than driver handle

In most cases, the driver handle will be the image handle itself.
However, this is not required by the UEFI specification, and some
images will install multiple driver binding handles.

Use the image handle (extracted from the driver binding protocol
instance) when attempting to unload the driver's image.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_veto.c