From 479f0c8d373fe2cb1b2c330ad0122f091784869c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 14 Sep 2008 06:05:47 +0000 Subject: [PATCH] - Release the spin lock before calling NCETimeout - Should fix the crash Wax had when using the kvmnet driver svn path=/branches/aicom-network-fixes/; revision=36215 --- lib/drivers/ip/network/neighbor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/drivers/ip/network/neighbor.c b/lib/drivers/ip/network/neighbor.c index 330caa48117..6f924110d8f 100644 --- a/lib/drivers/ip/network/neighbor.c +++ b/lib/drivers/ip/network/neighbor.c @@ -157,7 +157,9 @@ VOID NBTimeout(VOID) NCE->EventTimer--; if (NCE->EventTimer == 0) { /* Call timeout handler for NCE */ + TcpipReleaseSpinLock(&NeighborCache[i].Lock, OldIrql); NCETimeout(NCE); + TcpipAcquireSpinLock(&NeighborCache[i].Lock, &OldIrql); } } }