Author: cgutman
Date: Tue Sep 9 22:54:46 2008
New Revision: 36101
URL:
http://svn.reactos.org/svn/reactos?rev=36101&view=rev
Log:
- Remove the spin locks around NdisSend because it causes a crash in kvmnet
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Tue Sep
9 22:54:46 2008
@@ -595,7 +595,6 @@
PETH_HEADER EHeader;
PCHAR Data;
UINT Size;
- KIRQL OldIrql;
PLAN_ADAPTER Adapter = (PLAN_ADAPTER)Context;
TI_DbgPrint(DEBUG_DATALINK,
@@ -673,13 +672,11 @@
((PCHAR)LinkAddress)[5] & 0xff));
}
- TcpipAcquireSpinLock( &Adapter->Lock, &OldIrql );
TI_DbgPrint(MID_TRACE, ("NdisSend\n"));
NdisSend(&NdisStatus, Adapter->NdisHandle, NdisPacket);
TI_DbgPrint(MID_TRACE, ("NdisSend %s\n",
NdisStatus == NDIS_STATUS_PENDING ?
"Pending" : "Complete"));
- TcpipReleaseSpinLock( &Adapter->Lock, OldIrql );
/* I had a talk with vizzini: these really ought to be here.
* we're supposed to see these completed by ndis *only* when