Repository navigation
[2511] NetworkPkg/UefiPxeBcDxe: Clear UDP read events after closing - #1999
Merged
Michael Kubacki (makubacki) merged 1 commit intoOct 28, 2026
Conversation
EfiPxeBcUdpRead() closes the UDP completion event but leaves its handle in PXEBC_PRIVATE_DATA. A subsequent EfiPxeBcStop() can close the stale handle again, causing an exception in CoreCloseEvent(). Clear the IPv4 and IPv6 token event handles after closing them so Stop only closes events that are still live. Signed-off-by: Sureshkumar Ponnusamy <sponnusamy@microsoft.com> (cherry picked from release/202608 commit 7d204c6)
Michael Kubacki (makubacki)
requested review from
Aaron (apop5) and
Oliver Smith-Denny (os-d)
October 27, 2026 13:05
Member
Author
|
Note: I didn't include [CHERRY-PICK] in the commit message or "Squash on Rebase" since it's not cherry-picked from edk2 and this branch has already been rebased for 2608. The cherry-pick line at the end is just to track that it's already in 2608 and coming from there. |
Contributor
⏩ QEMU Validation SkippedValidation was skipped (reason: wrong_target_branch). This comment was automatically generated by the Mu QEMU PR Validation workflow. |
Aaron (apop5)
approved these changes
Oct 27, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/202511 #1999 +/- ##
================================================
Coverage ? 0.65%
================================================
Files ? 165
Lines ? 72350
Branches ? 1787
================================================
Hits ? 476
Misses ? 71864
Partials ? 10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Michael Kubacki (makubacki)
enabled auto-merge (rebase)
October 27, 2026 21:46
Doug Flick (Flickdm)
approved these changes
Oct 28, 2026
Michael Kubacki (makubacki)
merged commit Oct 28, 2026
9067996
into
microsoft:release/202511
55 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
EfiPxeBcUdpRead() closes the UDP completion event but leaves its handle in PXEBC_PRIVATE_DATA. A subsequent EfiPxeBcStop() can close the stale handle again, causing an exception in CoreCloseEvent().
Clear the IPv4 and IPv6 token event handles after closing them so Stop only closes events that are still live.
(cherry picked from release/202608 commit 7d204c6)
How This Was Tested
Integration Instructions