]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c
1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is...
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Jun 2011 09:45:59 +0000 (09:45 +0000)
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Jun 2011 09:45:59 +0000 (09:45 +0000)
commit94b928ca595def75b918daacdefb70832b28882d
tree0702503ae527c5f129de321a74282aaed6dc0af9
parent08cd970203c092f4460ebb4f227745b69a633824
1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is allocated and then passed to IPsec, it should be released after it is done to avoid the memory leak.
2. In IPsec driver it wrongly use the HeadLen to calculate the IP header length after the IPsec process. Correct this mistake.

Signed-off-by: qianouyang
Reviewed-by: jjin9
Reviewed-by: ZhangCaoIntel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11824 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c
NetworkPkg/Ip6Dxe/Ip6Input.c
NetworkPkg/IpSecDxe/IpSecImpl.c