]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/IScsiDxe/IScsiDhcp.c
NetworkPkg/IScsiDxe: Switch IP4 configuration policy to Static before DHCP
authorJiaxin Wu <jiaxin.wu@intel.com>
Wed, 10 May 2017 15:30:57 +0000 (23:30 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Thu, 11 May 2017 02:52:50 +0000 (10:52 +0800)
commitef810bc807188224a752ffbcf5e7f4b651291cee
tree439b53194877c7a1b6d3c5d0f94434d973e875e0
parentdf5914993c9d4db87e4132bcc3b88efb48db5c6e
NetworkPkg/IScsiDxe: Switch IP4 configuration policy to Static before DHCP

DHCP4 service allows only one of its children to be configured in the active
state. If the DHCP4 D.O.R.A started by IP4 auto configuration and has not
been completed, the Dhcp4 state machine will not be in the right state for
the iSCSI to start a new round D.O.R.A. So, we need to switch it's policy to
static.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/IScsiDxe/IScsiDhcp.c