Revision: 14698
http://sourceforge.net/p/edk2/code/14698
Author: vanjeff
Date: 2013-09-23 06:46:26 +0000 (Mon, 23 Sep 2013)
Log Message:
-----------
Sync patch r14682 from main trunk.
Fix a bug in Ip4 driver that Ip4.Transmit() interface may return
EFI_INVALID_PARAMETER without restore TPL.
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/14682
Modified Paths:
--------------
branches/UDK2010.SR1/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c
Modified: branches/UDK2010.SR1/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c
===================================================================
--- branches/UDK2010.SR1/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c
2013-09-23 06:18:17 UTC (rev 14697)
+++ branches/UDK2010.SR1/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c
2013-09-23 06:46:26 UTC (rev 14698)
@@ -2002,7 +2002,8 @@
RawHdrLen = (UINT8) (RawHdrLen & 0x0f);
if (RawHdrLen < 5) {
- return EFI_INVALID_PARAMETER;
+ Status = EFI_INVALID_PARAMETER;
+ goto ON_EXIT;
}
RawHdrLen = (UINT8) (RawHdrLen << 2);
@@ -2014,7 +2015,8 @@
DontFragment = IP4_DO_NOT_FRAGMENT (Head.Fragment);
if (!DontFragment) {
- return EFI_INVALID_PARAMETER;
+ Status = EFI_INVALID_PARAMETER;
+ goto ON_EXIT;
}
GateWay = IP4_ALLZERO_ADDRESS;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits