driver: format
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
479bbdc50a
commit
273cbe2d14
@ -522,11 +522,7 @@ TunProcessReceiveData(_Inout_ TUN_CTX *Ctx)
|
|||||||
MDL *Mdl = IoAllocateMdl(PacketAddr, PacketSize, FALSE, FALSE, NULL);
|
MDL *Mdl = IoAllocateMdl(PacketAddr, PacketSize, FALSE, FALSE, NULL);
|
||||||
if (!Mdl)
|
if (!Mdl)
|
||||||
goto skipNbl;
|
goto skipNbl;
|
||||||
IoBuildPartialMdl(
|
IoBuildPartialMdl(Ctx->Device.Receive.Mdl, Mdl, PacketAddr, PacketSize);
|
||||||
Ctx->Device.Receive.Mdl,
|
|
||||||
Mdl,
|
|
||||||
PacketAddr,
|
|
||||||
PacketSize);
|
|
||||||
NET_BUFFER_LIST *Nbl = NdisAllocateNetBufferAndNetBufferList(Ctx->NblPool, 0, 0, Mdl, 0, PacketSize);
|
NET_BUFFER_LIST *Nbl = NdisAllocateNetBufferAndNetBufferList(Ctx->NblPool, 0, 0, Mdl, 0, PacketSize);
|
||||||
if (!Nbl)
|
if (!Nbl)
|
||||||
goto cleanupMdl;
|
goto cleanupMdl;
|
||||||
|
Loading…
Reference in New Issue
Block a user