From e39210e30ab2f8df8f4a6126a926ae3e464dc516 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 10 Sep 2008 03:54:46 +0000 Subject: [PATCH] - Remove the spin locks around NdisSend because it causes a crash in kvmnet svn path=/branches/aicom-network-fixes/; revision=36101 --- drivers/network/tcpip/datalink/lan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/network/tcpip/datalink/lan.c b/drivers/network/tcpip/datalink/lan.c index 50ee5734e32..32a69ff1009 100644 --- a/drivers/network/tcpip/datalink/lan.c +++ b/drivers/network/tcpip/datalink/lan.c @@ -595,7 +595,6 @@ VOID LANTransmit( PETH_HEADER EHeader; PCHAR Data; UINT Size; - KIRQL OldIrql; PLAN_ADAPTER Adapter = (PLAN_ADAPTER)Context; TI_DbgPrint(DEBUG_DATALINK, @@ -673,13 +672,11 @@ VOID LANTransmit( ((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