]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Bug Fix: IPv4 Fragment is not correct when VLAN is enable.
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Mar 2010 05:36:52 +0000 (05:36 +0000)
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Mar 2010 05:36:52 +0000 (05:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10275 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c

index dcbead5993465d967b1870acc1fee4938abf2b4e..ed8da7813285e34aa263d801b393718d0f2764ed 100644 (file)
@@ -311,11 +311,8 @@ Ip4Output (
   //\r
   // OK, selected the source and route, fragment the packet then send\r
   // them. Tag each fragment other than the first one as spawn from it.\r
-\r
-  //\r
-  // IPsec payload has been appended, so use IpSb->SnpMode.MaxPacketSize here.\r
   //\r
-  Mtu            = IpSb->SnpMode.MaxPacketSize;\r
+  Mtu            = IpSb->MaxPacketSize;\r
   HeadLen        = sizeof (IP4_HEAD) + ((OptLen + 3) & (~0x03));\r
   Head->Id       = mIp4Id++;\r
 \r