]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg:Fix a robustness issue of Mnp Driver
authorZhang Lubo <lubo.zhang@intel.com>
Wed, 24 Feb 2016 03:54:53 +0000 (11:54 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Mon, 29 Feb 2016 01:24:58 +0000 (09:24 +0800)
commit0bb073b9e2cc58149b41a709c1f78db6c0f9a963
treedd968ca6b4e0e9e7042e506b2c3c4fcb8dad9579
parentd2ba6f41e2f8cbc8dffee8bddaebbbd6f3a3b9ab
MdeModulePkg:Fix a robustness issue of Mnp Driver

v3:
*
When there exists duplicate items in VLAN variable , save the correct
variable content back to the variable storage after duplicate items are removed

Duplicate items in VLAN variable will cause MNP driver binding
start function fall into infinite loop,so we should check it's
content before using it.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c