diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2017-09-04 16:04:13 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-09-06 14:57:29 +0800 |
commit | 5aae2d35de031a38e7812c615ff6bce36b31466a (patch) | |
tree | 04319399e1bba6a202a0fd55d1da2059666a114e /ShellPkg | |
parent | 12cfc9009e7cf1a69ca675110c2cf6e21b152992 (diff) | |
download | edk2-5aae2d35de031a38e7812c615ff6bce36b31466a.zip edk2-5aae2d35de031a38e7812c615ff6bce36b31466a.tar.gz edk2-5aae2d35de031a38e7812c615ff6bce36b31466a.tar.bz2 |
MdeModulePkg/Ip4Dxe: fix a bug in IP4 driver for IpSec protocol notify.
The IP driver uses EfiCreateProtocolNotifyEvent() to register notify callback
function for IpSec protocol, but it didn't notice that the callback will always
be executed at least once, even the protocol wasn't in handle database.
As a result, the Ip4IpSecProcessPacket() will still always call LocateProtocol()
even the IpSec protocol is not installed, which will impact the network
performance.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'ShellPkg')
0 files changed, 0 insertions, 0 deletions