diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-18 12:49:32 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-18 12:49:32 +0000 |
commit | 9bf25d873b2ba67c6938601e9d0700496d942cd3 (patch) | |
tree | 6435141cd64b3491f50e897dc7a404033badc42a /wintun.c | |
parent | Fix awkward comment style (diff) | |
download | wintun-9bf25d873b2ba67c6938601e9d0700496d942cd3.tar.xz wintun-9bf25d873b2ba67c6938601e9d0700496d942cd3.zip |
Fix insane coding style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'wintun.c')
-rw-r--r-- | wintun.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -304,8 +304,8 @@ TunSendNetBufferLists( if (Status = NDIS_STATUS_BUFFER_OVERFLOW, RingSpace < RequiredRingSpace) goto cleanupKeReleaseInStackQueuedSpinLock; - TunNblSetTailAndMarkActive( - Nbl, Ctx->Device.Send.RingTail = TUN_RING_WRAP(RingTail + RequiredRingSpace, RingCapacity)); + Ctx->Device.Send.RingTail = TUN_RING_WRAP(RingTail + RequiredRingSpace, RingCapacity); + TunNblSetTailAndMarkActive(Nbl, Ctx->Device.Send.RingTail); *(Ctx->Device.Send.ActiveNbls.Head ? &NET_BUFFER_LIST_NEXT_NBL(Ctx->Device.Send.ActiveNbls.Tail) : &Ctx->Device.Send.ActiveNbls.Head) = Nbl; Ctx->Device.Send.ActiveNbls.Tail = Nbl; |