win-pvdrivers

changeset 607:c2aea3e060a7

Missed a line in cut&paste in previous checksum fix
author James Harper <james.harper@bendigoit.com.au>
date Sun Jul 05 21:06:26 2009 +1000 (2009-07-05)
parents 9f7c8c68fa29
children f5e20f53699d
files xennet/xennet_rx.c
line diff
     1.1 --- a/xennet/xennet_rx.c	Sun Jul 05 17:04:59 2009 +1000
     1.2 +++ b/xennet/xennet_rx.c	Sun Jul 05 21:06:26 2009 +1000
     1.3 @@ -402,7 +402,8 @@ XenNet_SumPacketData(
     1.4    {
     1.5      if (buffer_offset >= buffer_length)
     1.6      {
     1.7 -      NdisQueryBufferSafe(mdl, (PVOID) &buffer, &buffer_length, NormalPagePriority);
     1.8 +      NdisGetNextBuffer(mdl, &mdl);
     1.9 +      NdisQueryBufferSafe(mdl, (PVOID)&buffer, &buffer_length, NormalPagePriority);
    1.10        buffer_offset = 0;
    1.11      }
    1.12      csum += ((USHORT)buffer[buffer_offset] << 8);