在 2021/3/29 上午11:01, Bin Meng 写道:
On Mon, Mar 29, 2021 at 10:20 AM Jason Wang <jasow...@redhat.com> wrote:
Commit 969e50b61a28 ("net: Pad short frames to minimum size before
sending from SLiRP/TAP") tries to pad frames but try to recyle the
local array that is used for padding to tap thread. This patch fixes
this by recyling the original buffer.

Fixes: 969e50b61a28 ("net: Pad short frames to minimum size before sending from 
SLiRP/TAP")
Tested-by: Howard Spoelstra <hsp.c...@gmail.com>
Signed-off-by: Jason Wang <jasow...@redhat.com>
---
  net/tap-win32.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Tested booting U-Boot with QEMU ppce500 on Windows, without the patch,
QEMU crashes
Tested-by: Bin Meng <bmeng...@gmail.com>


Applied.

Thanks


Reply via email to