Revision: 19427
http://sourceforge.net/p/edk2/code/19427
Author: vanjeff
Date: 2015-12-21 07:20:16 +0000 (Mon, 21 Dec 2015)
Log Message:
-----------
NetworkPkg: Fix a bug in HttpBootDriverBindingStop() when destroying child.
If Http Driver is being unloaded or DisconnectController() without
invoke HttpBootStart(), this will cause an unexpected ASSERT.
(Sync patch r19005 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <[email protected]>
Reviewed-by: Sriram Subramanian <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19005
Modified Paths:
--------------
branches/UDK2015/NetworkPkg/HttpBootDxe/HttpBootDxe.c
Modified: branches/UDK2015/NetworkPkg/HttpBootDxe/HttpBootDxe.c
===================================================================
--- branches/UDK2015/NetworkPkg/HttpBootDxe/HttpBootDxe.c 2015-12-21
07:19:40 UTC (rev 19426)
+++ branches/UDK2015/NetworkPkg/HttpBootDxe/HttpBootDxe.c 2015-12-21
07:20:16 UTC (rev 19427)
@@ -50,7 +50,6 @@
{
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == FALSE);
if (Private->Dhcp4Child != NULL) {
gBS->CloseProtocol (
@@ -111,7 +110,6 @@
{
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == TRUE);
if (Private->Ip6Child != NULL) {
gBS->CloseProtocol (
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits