qemu-e2k/net
Jason Wang 21df394d9e tap-win32: correctly recycle buffers
Commit 969e50b61a ("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: 969e50b61a ("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>
2021-04-08 17:33:59 +08:00
..
can
announce.c Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
checksum.c net: checksum: Introduce fine control over checksum type 2021-01-25 17:04:56 +08:00
clients.h
colo-compare.c net/colo-compare.c: Optimize removal of secondary packet 2021-03-22 17:34:31 +08:00
colo-compare.h
colo.c
colo.h
dump.c netfilter: Use class properties 2020-12-15 10:02:07 -05:00
eth.c net/eth: Add an assert() and invert if() statement to simplify code 2021-03-22 17:34:31 +08:00
filter-buffer.c netfilter: Use class properties 2020-12-15 10:02:07 -05:00
filter-mirror.c netfilter: Use class properties 2020-12-15 10:02:07 -05:00
filter-replay.c
filter-rewriter.c net: checksum: Introduce fine control over checksum type 2021-01-25 17:04:56 +08:00
filter.c netfilter: Use class properties 2020-12-15 10:02:07 -05:00
hub.c
hub.h
l2tpv3.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
meson.build
net.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
netmap.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
queue.c net: introduce qemu_receive_packet() 2021-03-15 16:41:22 +08:00
slirp.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
socket.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
tap_int.h
tap-bsd.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-stub.c
tap-win32.c tap-win32: correctly recycle buffers 2021-04-08 17:33:59 +08:00
tap.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
trace-events
trace.h
util.c
util.h
vde.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
vhost-user-stub.c
vhost-user.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00
vhost-vdpa.c Revert "qapi: net: Add query-netdev command" 2021-04-08 17:33:59 +08:00