Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 845daa9f12538a7ad944c7ca06766732b66ddff4
      
https://github.com/tianocore/edk2/commit/845daa9f12538a7ad944c7ca06766732b66ddff4
  Author: Dongyan Qian <[email protected]>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M NetworkPkg/DpcDxe/Dpc.c

  Log Message:
  -----------
  NetworkPkg/DpcDxe: Stop adding entries on allocation failure

DpcQueueDpc() expands the DPC entry free list when it is empty. If an
allocation fails after at least one entry has already been added to the
free list, the current code continues and inserts the failed allocation
result into the list.

Stop expanding the free list when an allocation fails and the free list
already contains entries. The caller can then continue with one of the
entries that was successfully allocated.

Signed-off-by: Dongyan Qian <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to