aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.c
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-12-09 11:32:18 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-12-10 14:22:50 +0100
commitc4becc5b90ab1b6eb453290f6d979501c5feb43f (patch)
treef3ae7c2f7ad4fb3b40ca06bb7d240ac11894d96a /wintun.c
parentVersion bump (diff)
downloadwintun-c4becc5b90ab1b6eb453290f6d979501c5feb43f.tar.xz
wintun-c4becc5b90ab1b6eb453290f6d979501c5feb43f.zip
Remove excessive ASSERT
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.c')
-rw-r--r--wintun.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wintun.c b/wintun.c
index 4003621..0944af4 100644
--- a/wintun.c
+++ b/wintun.c
@@ -556,8 +556,6 @@ TunRegisterBuffers(_Inout_ TUN_CTX *Ctx, _Inout_ IRP *Irp)
goto cleanupMutex;
Ctx->Device.OwningFileObject = Stack->FileObject;
- ASSERT(InterlockedGet(&Ctx->Running));
-
TUN_REGISTER_RINGS *Rrb = Irp->AssociatedIrp.SystemBuffer;
if (Status = STATUS_INVALID_PARAMETER, Stack->Parameters.DeviceIoControl.InputBufferLength != sizeof(*Rrb))
goto cleanupResetOwner;