Author: cgutman Date: Sun Sep 14 01:05:47 2008 New Revision: 36215
URL: http://svn.reactos.org/svn/reactos?rev=36215&view=rev Log: - Release the spin lock before calling NCETimeout - Should fix the crash Wax had when using the kvmnet driver
Modified: branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c
Modified: branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers/... ============================================================================== --- branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1] (original) +++ branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1] Sun Sep 14 01:05:47 2008 @@ -157,7 +157,9 @@ NCE->EventTimer--; if (NCE->EventTimer == 0) { /* Call timeout handler for NCE */ + TcpipReleaseSpinLock(&NeighborCache[i].Lock, OldIrql); NCETimeout(NCE); + TcpipAcquireSpinLock(&NeighborCache[i].Lock, &OldIrql); } } }