audk/NetworkPkg
Fu Siyuan 7537258100 NetworkPkg: Fix the driver model issue in HTTP Boot driver.
The HTTP Boot driver have some UEFI driver model problems which will make the
code ASSERT when it's disconnected.
First, the driver opens the HttpSb protocol BY_CHILD without BY_DRIVER attribute.
So the driver binding stop won't be called when HTTP driver is disconnected, so
a child handle is left and made HTTP driver binding stop function goes into error.
This patch remove this unnecessary OpenProtocol and only unload the HII from when
both the IP4 and IP6 stack have been stopped completely.
The second issue is the HTTP boot driver always use the driver's image handle as
it's driver binding handle, it's not correct. HTTP Boot driver provides 2 separate
driver binding protocols from IP4 and IP6 stack, so it has 2 driver binding handle.
So this patch fix the code to use correct driver binding handle when create/open
a HTTP child handle.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2016-03-16 14:43:17 +08:00
..
Application NetworkPkg: Refine the code of shell app under networkPkg. 2016-03-11 11:55:06 +08:00
Dhcp6Dxe NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
DnsDxe NetworkPkg: Revert git 'eb213f2f' fix 2016-03-02 15:43:55 +08:00
HttpBootDxe NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpDxe NetworkPkg: Use the New Functions from HttpLib 2016-03-10 10:01:42 +08:00
HttpUtilitiesDxe NetworkPkg: Use the New Functions from HttpLib 2016-03-10 10:01:42 +08:00
IScsiDxe NetworkPkg IScsiDxe: Fix typos in function descriptions 2016-01-06 01:12:27 +00:00
Include/Guid NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
Ip6Dxe NetworkPkg: Change the default IPv6 config policy 2016-03-02 15:43:52 +08:00
IpSecDxe NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
Mtftp6Dxe NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
TcpDxe NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
Udp6Dxe NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
UefiPxeBcDxe NetworkPkg: Reword PXE download message 2016-02-14 10:18:54 +08:00
Contributions.txt
License.txt
NetworkPkg.dec NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
NetworkPkg.dsc NetworkPkg: Add NOOPT target in NetworkPkg.dsc 2016-01-19 04:06:24 +00:00
NetworkPkg.uni NetworkPkg: Update NetworkPkg.uni to UTF-8 file format 2015-12-23 07:55:27 +00:00
NetworkPkgExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00