diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2015-12-21 07:20:16 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-21 07:20:16 +0000 |
commit | fa8accd5cc1417cac84ee05456f824f6f24d2f04 (patch) | |
tree | 15fb51666fa4d2473170efd7461e8db61da16fe1 /NetworkPkg | |
parent | c3dde2ded7f3bc292030a47402cbde7fbde24001 (diff) | |
download | edk2-platforms-fa8accd5cc1417cac84ee05456f824f6f24d2f04.tar.xz |
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 <lubo.zhang@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19427 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootDxe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootDxe.c b/NetworkPkg/HttpBootDxe/HttpBootDxe.c index a7fc8a8e2e..9fb33bbb53 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDxe.c +++ b/NetworkPkg/HttpBootDxe/HttpBootDxe.c @@ -50,7 +50,6 @@ HttpBootDestroyIp4Children ( {
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == FALSE);
if (Private->Dhcp4Child != NULL) {
gBS->CloseProtocol (
@@ -111,7 +110,6 @@ HttpBootDestroyIp6Children ( {
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == TRUE);
if (Private->Ip6Child != NULL) {
gBS->CloseProtocol (
|