win-pvdrivers

changeset 1089:5fa56ef930bf

remove incorred assert that was being hit on XP
author James Harper <james.harper@bendigoit.com.au>
date Tue Dec 24 15:44:06 2013 +1100 (2013-12-24)
parents 53eb8a11ea2f
children 16a302043197
files xennet/xennet_rx.c
line diff
     1.1 --- a/xennet/xennet_rx.c	Tue Dec 24 15:43:51 2013 +1100
     1.2 +++ b/xennet/xennet_rx.c	Tue Dec 24 15:44:06 2013 +1100
     1.3 @@ -510,7 +510,7 @@ XenNet_MakePacket(struct xennet_info *xi
     1.4      #if NTDDI_VERSION < NTDDI_VISTA
     1.5      csum_info = (PNDIS_TCP_IP_CHECKSUM_PACKET_INFO)&NDIS_PER_PACKET_INFO_FROM_PACKET(
     1.6        packet, TcpIpChecksumPacketInfo);
     1.7 -    XN_ASSERT(csum_info->Value == 0);
     1.8 +    csum_info->Value = 0;
     1.9      if (pi->csum_blank || pi->data_validated || pi->split_required) {
    1.10        BOOLEAN checksum_offload = FALSE;
    1.11        /* we know this is IPv4, and we know Linux always validates the IPv4 checksum for us */