- 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
This commit is contained in:
Cameron Gutman
2008-09-14 06:05:47 +00:00
parent 3c6651a64e
commit 479f0c8d37
+2
View File
@@ -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);
}
}
}