]> git.proxmox.com Git - mirror_edk2.git/commit
Initialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable...
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Jul 2010 02:11:05 +0000 (02:11 +0000)
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Jul 2010 02:11:05 +0000 (02:11 +0000)
commitb24633c74e55c0a6a9c1c84796f00c3552c66ee3
tree9e355c786a329cea51800203f74bbbd3c1b78001
parent74df5026b22cd13ab09766a2ba49298b4c5f9ac0
Initialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable before firing timer ArpService->PeriodicTimer. This remove the race condition in ArpCreateService(): it is possible for the timer event to trigger before the lists are initialized which will results in a hang in ArpTimerHandler().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10629 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c