]> git.proxmox.com Git - mirror_edk2.git/commit
Nt32Pkg/SnpNt32Dxe: Fix hang issue when multiple network interfaces existed
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 5 May 2017 01:01:08 +0000 (09:01 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 9 May 2017 06:32:16 +0000 (14:32 +0800)
commitd547b32dccbef8bd4fedda648db270ad4cbf3857
tree4ca6f6ffa2af8acc72d29a1a8d6b50cf3d495062
parentb61fda11295b09340c43278fe9425eb71081ac2a
Nt32Pkg/SnpNt32Dxe: Fix hang issue when multiple network interfaces existed

Currently all the network interfaces share the one recycled transmit buffer
array, which is used to store the recycled buffer address. However, those
recycled buffers are allocated by the different MNP interface if the multiple
network interfaces existed. Then, SNP GetStatus may return one recycled transmit
buffer address to the another MNP interface, which may result in the MNP driver
hang after 'reconnect -r' operation.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Nt32Pkg/SnpNt32Dxe/SnpNt32.c
Nt32Pkg/SnpNt32Dxe/SnpNt32.h