diff options
author | Simon Rozman <simon@rozman.si> | 2019-12-09 11:32:18 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-10 14:22:50 +0100 |
commit | c4becc5b90ab1b6eb453290f6d979501c5feb43f (patch) | |
tree | f3ae7c2f7ad4fb3b40ca06bb7d240ac11894d96a /wintun.c | |
parent | Version bump (diff) | |
download | wintun-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |