Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/SeLow/SeLow.c')
-rw-r--r--src/SeLow/SeLow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SeLow/SeLow.c b/src/SeLow/SeLow.c
index 6931fdba..92cea410 100644
--- a/src/SeLow/SeLow.c
+++ b/src/SeLow/SeLow.c
@@ -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))
{