aboutsummaryrefslogtreecommitdiffstats
path: root/driver/wintun.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/wintun.c')
-rw-r--r--driver/wintun.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/driver/wintun.c b/driver/wintun.c
index 7cb72bb..9d87005 100644
--- a/driver/wintun.c
+++ b/driver/wintun.c
@@ -522,11 +522,7 @@ TunProcessReceiveData(_Inout_ TUN_CTX *Ctx)
MDL *Mdl = IoAllocateMdl(PacketAddr, PacketSize, FALSE, FALSE, NULL);
if (!Mdl)
goto skipNbl;
- IoBuildPartialMdl(
- Ctx->Device.Receive.Mdl,
- Mdl,
- PacketAddr,
- PacketSize);
+ IoBuildPartialMdl(Ctx->Device.Receive.Mdl, Mdl, PacketAddr, PacketSize);
NET_BUFFER_LIST *Nbl = NdisAllocateNetBufferAndNetBufferList(Ctx->NblPool, 0, 0, Mdl, 0, PacketSize);
if (!Nbl)
goto cleanupMdl;