[ros-diffs] [amunger] 22338: Remove packet size assert. Recent qemu slirp changes cause us to hit this assert. I could not find any evidence of the qemu changes causing linux or windows problems, so I removed the assert. Testing has yielded no issues with the assert removed. I'm leaving it in trunk for now, until it can be looked at closer.

amunger at svn.reactos.org amunger at svn.reactos.org
Tue Jun 13 05:46:23 CEST 2006


Author: amunger
Date: Tue Jun 13 07:46:22 2006
New Revision: 22338

URL: http://svn.reactos.ru/svn/reactos?rev=22338&view=rev
Log:
Remove packet size assert.
Recent qemu slirp changes cause us to hit this assert.  I could not find any evidence of the qemu changes causing linux or windows problems, so I removed the assert.  Testing has yielded no issues with the assert removed.  I'm leaving it in trunk for now, until it can be looked at closer.

Modified:
    branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c

Modified: branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c
URL: http://svn.reactos.ru/svn/reactos/branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c?rev=22338&r1=22337&r2=22338&view=diff
==============================================================================
--- branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c (original)
+++ branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c Tue Jun 13 07:46:22 2006
@@ -487,8 +487,6 @@
     {
 	if (NdisStatus == NDIS_STATUS_SUCCESS)
         {
-	    ASSERT(PacketSize <= Adapter->MTU);
-
             NdisTransferData(&NdisStatus, Adapter->NdisHandle,
                              MacReceiveContext, 0, PacketSize,
 			     NdisPacket, &BytesTransferred);




More information about the Ros-diffs mailing list