[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] efinet: correct closing of SNP protocol

From: Heinrich Schuchardt
Subject: [PATCH v2 0/2] efinet: correct closing of SNP protocol
Date: Mon, 29 Nov 2021 16:00:27 +0100

In the context of the implementation of the EFI_LOAD_FILE2_PROTOCOL for
the initial ramdisk it was observed that opening the SNP protocol failed
This is due to an incorrect call to CloseProtocol().

This is corrected in the first patch.

The second patch provides a new function grub_efi_close_protocol() to
simplify the coding.

        do not open SNP protocol non-exclusively
        adjust code style

Heinrich Schuchardt (2):
  efinet: correct closing of SNP protocol
  efi: library function grub_efi_close_protocol()

 grub-core/kern/efi/efi.c           | 12 ++++++++++++
 grub-core/net/drivers/efi/efinet.c | 29 +++++++++++++++++++----------
 include/grub/efi/efi.h             |  3 +++
 3 files changed, 34 insertions(+), 10 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]