]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
MdeModulePkg: Fix issue about current Ip4Dxe implementation for DHCP DORA process
authorJiaxin Wu <jiaxin.wu@intel.com>
Tue, 11 Aug 2015 11:07:17 +0000 (11:07 +0000)
committerjiaxinwu <jiaxinwu@Edk2>
Tue, 11 Aug 2015 11:07:17 +0000 (11:07 +0000)
commit3d0a49ad47619c30c84bbee8a33f54b64dddbcec
treef0f8dde9e91395117e4eff35471d450c6e1c860a
parent00f6c6cf9fd7c802b67a1b38209a08c94e7e9616
MdeModulePkg: Fix issue about current Ip4Dxe implementation for DHCP DORA process

DHCP policy is applied as default at boot time on all NICs in the system, which results
in all NIC ports attempting DHCP and trying to acquire IP addresses during boot.
Ip4 driver should only set dhcp as default policy, and not trigger DORA at driver binding
start(). We should start DORA until one IP child is configured to use default address.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18201 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c