Skip to content

Commit

Permalink
remove uninitialized pool allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfriesen committed Jan 27, 2025
1 parent e3cca30 commit b831c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xdp/xsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ XskAllocateTxBounceBuffer(
//
ASSERT(Bounce->AllocationSource == NotAllocated);
Bounce->Mapping.SystemAddress =
ExAllocatePoolUninitialized(NonPagedPoolNx, Xsk->Umem->Reg.TotalSize, POOLTAG_BOUNCE);
ExAllocatePoolZero(NonPagedPoolNx, Xsk->Umem->Reg.TotalSize, POOLTAG_BOUNCE);
if (Bounce->Mapping.SystemAddress == NULL) {
Status = STATUS_NO_MEMORY;
goto Exit;
Expand Down

0 comments on commit b831c9f

Please sign in to comment.