]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Ip4Dxe: Add wrong/invalid subnet check
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 11 Nov 2016 04:47:01 +0000 (12:47 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Thu, 17 Nov 2016 00:21:13 +0000 (08:21 +0800)
commit818ba0ef81516c0cc8de3ff9a97495fd02e4c8a7
treee5c26a06fcd2ffe2ff6266453fc14e34977bf980
parentad13d7d2d4a1d329a60b414843a888c54bdbad73
MdeModulePkg/Ip4Dxe: Add wrong/invalid subnet check

v2:
* Separate out the return status fix.
* Replace IP4_MASK_MAX with IP4_MASK_NUM.
* Remove the ON_EXIT label.

This patch is used to add the wrong/invalid subnet check.

Cc: Santhapur Naveen <naveens@amiindia.co.in>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@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>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c