Get MaxPacketSize from IP4 mode data and reduce the head size of UDP and MTFTP, and take it as BlockSize to download.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9894 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ljin6
2010-02-01 03:32:28 +00:00
parent 9f7d5b46aa
commit fa6d3ee491
4 changed files with 29 additions and 11 deletions

View File

@@ -1270,7 +1270,9 @@ PxeBcDiscvBootService (
//
// free the responselist
//
FreePool (Token.ResponseList);
if (Token.ResponseList != NULL) {
FreePool (Token.ResponseList);
}
}
//
// Free the dhcp packet