diff options
author | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-12 04:46:11 +0000 |
---|---|---|
committer | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-12 04:46:11 +0000 |
commit | ae0a0b06af78f698df71b18a1defb5aece2f21b4 (patch) | |
tree | a0def64e209da9498d4b1596b387c2bb0f7f945e /MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c | |
parent | bab26f79ff3ef901b9d96500ac723d2bd41e3cd0 (diff) | |
download | edk2-platforms-ae0a0b06af78f698df71b18a1defb5aece2f21b4.tar.xz |
Fix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10790 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c index 37e2114d01..8974f5a5b7 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c @@ -1241,7 +1241,8 @@ EfiIp4Configure ( }
if (Current->UseDefaultAddress && IP4_NO_MAPPING (IpInstance)) {
- return EFI_NO_MAPPING;
+ Status = EFI_NO_MAPPING;
+ goto ON_EXIT;
}
}
}
|