diff options
author | qianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-17 03:41:37 +0000 |
---|---|---|
committer | qianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-17 03:41:37 +0000 |
commit | 90e529e2ccf02a5aa85edca3412de7cdb33b74e1 (patch) | |
tree | d5aeb40db2d41c19a0025437cbd649639bb2c216 /NetworkPkg | |
parent | b6ee58980525321bc5724ecc9a71dbc7beccf14e (diff) | |
download | edk2-platforms-90e529e2ccf02a5aa85edca3412de7cdb33b74e1.tar.xz |
Fixed the K9 failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11073 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/Ip6Dxe/Ip6Input.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Input.c b/NetworkPkg/Ip6Dxe/Ip6Input.c index f63c1afa82..55f0ae869a 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Input.c +++ b/NetworkPkg/Ip6Dxe/Ip6Input.c @@ -738,8 +738,6 @@ Ip6PreProcessPacket ( OUT UINT32 *UnFragmentLen,
OUT BOOLEAN *Fragmented,
OUT EFI_IP6_HEADER **Head
-
-
)
{
UINT16 PayloadLen;
@@ -1060,6 +1058,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.
//
|