Fix awkward comment style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
5502b77218
commit
cdf0d0bf9a
6
wintun.c
6
wintun.c
@ -324,9 +324,9 @@ TunSendNetBufferLists(
|
|||||||
void *NbData = NdisGetDataBuffer(Nb, PacketSize, Packet->Data, 1, 0);
|
void *NbData = NdisGetDataBuffer(Nb, PacketSize, Packet->Data, 1, 0);
|
||||||
if (!NbData)
|
if (!NbData)
|
||||||
{
|
{
|
||||||
NdisZeroMemory(
|
/* The space for the packet has already been allocated in the ring. Write a zero-packet rather than
|
||||||
Packet->Data, PacketSize); /* The space for the packet has already been allocated in the ring. Write
|
* fixing the gap in the ring. */
|
||||||
null-packet rather than fixing the gap in the ring. */
|
NdisZeroMemory(Packet->Data, PacketSize);
|
||||||
DiscardedPacketsCount++;
|
DiscardedPacketsCount++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user