Re: [edk2] [Patch] NetworkPkg: Fix the driver model issue in HTTP Boot driver.

2016-03-15 Thread Zhang, Lubo
Reviewed-by: Zhang, Lubo -Original Message- From: Fu, Siyuan Sent: Tuesday, March 15, 2016 9:41 AM To: edk2-devel@lists.01.org Cc: Gary Lin ; Laszlo Ersek ; Wu, Jiaxin ; Zhang, Lubo

Re: [edk2] [Patch] NetworkPkg: Fix the driver model issue in HTTP Boot driver.

2016-03-14 Thread Gary Lin
On Tue, Mar 15, 2016 at 09:41:25AM +0800, Fu Siyuan wrote: > 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

Re: [edk2] [Patch] NetworkPkg: Fix the driver model issue in HTTP Boot driver.

2016-03-14 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu > -Original Message- > From: Fu, Siyuan > Sent: Tuesday, March 15, 2016 9:41 AM > To: edk2-devel@lists.01.org > Cc: Gary Lin ; Laszlo Ersek ; Wu, Jiaxin > ; Zhang, Lubo

[edk2] [Patch] NetworkPkg: Fix the driver model issue in HTTP Boot driver.

2016-03-14 Thread Fu Siyuan
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, and a child handle is