summaryrefslogtreecommitdiffstats
path: root/net/vhost-user.c
diff options
context:
space:
mode:
authorJason Wang2021-03-26 09:46:43 +0100
committerJason Wang2021-04-08 11:33:59 +0200
commit21df394d9e2ffce9fa308f496d1ae228cf6cdb57 (patch)
tree33f95d5fea8f660bd1e045816785c8688185d6ee /net/vhost-user.c
parentRevert "qapi: net: Add query-netdev command" (diff)
downloadqemu-21df394d9e2ffce9fa308f496d1ae228cf6cdb57.tar.gz
qemu-21df394d9e2ffce9fa308f496d1ae228cf6cdb57.tar.xz
qemu-21df394d9e2ffce9fa308f496d1ae228cf6cdb57.zip
tap-win32: correctly recycle buffers
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.cat7@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/vhost-user.c')
0 files changed, 0 insertions, 0 deletions