mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-04-02 13:31:58 +03:00
v4.17-9562-beta
This commit is contained in:
@ -393,6 +393,7 @@ NTSTATUS SlDeviceOpenProc(DEVICE_OBJECT *device_object, IRP *irp)
|
||||
p.fAllocateNetBuffer = true;
|
||||
p.ContextSize = 32 + sizeof(UINT32) * 12;
|
||||
p.DataSize = SL_MAX_PACKET_SIZE;
|
||||
p.PoolTag = 'SETH';
|
||||
|
||||
f->NetBufferListPool = NdisAllocateNetBufferListPool(NULL, &p);
|
||||
|
||||
@ -1705,7 +1706,7 @@ void *SlMalloc(UINT size)
|
||||
}
|
||||
|
||||
// Allocate the non-paged memory
|
||||
r = NdisAllocateMemoryWithTag(&p, size, 0);
|
||||
r = NdisAllocateMemoryWithTag(&p, size, 'SETH');
|
||||
|
||||
if (NG(r))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user