]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Freed the received packet buffer if it is not expected.
authorWang Fan <fan.wang@intel.com>
Wed, 10 Jan 2018 03:01:02 +0000 (11:01 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 16 Jan 2018 03:09:59 +0000 (11:09 +0800)
commit0a1bd0a35dece044bee3b1ff580b58a3eeae7a4a
treefc1487ebd195916cbbe47afd601383066b1384d7
parentc74805f1e7176ecf36d92280ae4c7efe71185f08
MdeModulePkg: Freed the received packet buffer if it is not expected.

* When the packet is not normal packet or icmp error packet, the code
  does not recycle it by signal RecycleSignal event, and this will
  result some memory leak. This patch is to fix this issue.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c