Revision: 16832
          http://sourceforge.net/p/edk2/code/16832
Author:   sfu5
Date:     2015-02-11 08:26:36 +0000 (Wed, 11 Feb 2015)
Log Message:
-----------
DHCP6 bug fix:

DHCP6 won?\226?\128?\153t process more message if one message?\226?\128?\153s 
Xid is mismatched.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <[email protected]>
Reviewed-by: Ye Ting <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c

Modified: trunk/edk2/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c
===================================================================
--- trunk/edk2/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c    2015-02-11 08:20:17 UTC (rev 
16831)
+++ trunk/edk2/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c    2015-02-11 08:26:36 UTC (rev 
16832)
@@ -2,7 +2,7 @@
   Dhcp6 internal functions implementation.
 
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
-  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
@@ -2812,6 +2812,7 @@
   LIST_ENTRY                *Next1;
   LIST_ENTRY                *Entry2;
   LIST_ENTRY                *Next2;
+  EFI_STATUS                Status;
 
   ASSERT (Udp6Wrap != NULL);
   ASSERT (Context != NULL);
@@ -2891,6 +2892,18 @@
 
 ON_CONTINUE:
 
+  if (!IsDispatched) {
+    Status = UdpIoRecvDatagram (
+             Service->UdpIo,
+             Dhcp6ReceivePacket,
+             Service,
+             0
+             );
+    if (EFI_ERROR (Status)) {
+      Dhcp6CleanupRetry (Instance, DHCP6_PACKET_ALL);
+    }
+  }
+
   NetbufFree (Udp6Wrap);
 
   if (Packet != NULL) {


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to