Fixed the K9 failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11073 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qianouyang 2010-11-17 03:41:37 +00:00
parent b6ee589805
commit 90e529e2cc
1 changed files with 7 additions and 2 deletions

View File

@ -738,8 +738,6 @@ Ip6PreProcessPacket (
OUT UINT32 *UnFragmentLen,
OUT BOOLEAN *Fragmented,
OUT EFI_IP6_HEADER **Head
)
{
UINT16 PayloadLen;
@ -1059,6 +1057,13 @@ Ip6AcceptFrame (
}
}
//
// Check the Packet again.
//
if (Packet == NULL) {
goto Restart;
}
//
// Packet may have been changed. The ownership of the packet
// is transfered to the packet process logic.