Bug Fix: IPv4 Fragment is not correct when VLAN is enable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10275 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qianouyang 2010-03-18 05:36:52 +00:00
parent abe31ad579
commit 2db63cd4fa
1 changed files with 1 additions and 4 deletions

View File

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