qemu/include
Jason Wang bc38e31b4e net: check the existence of peer before trying to pad
There could be case that peer is NULL. This can happen when during
network device hot-add where net device needs to be added first. So
the patch check the existence of peer before trying to do the pad.

Fixes: 969e50b61a ("net: Pad short frames to minimum size before sending from SLiRP/TAP")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 20210423031803.1479-1-jasowang@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-04-23 11:11:28 +01:00
..
authz
block hw/block/nvme: fix handling of private namespaces 2021-04-07 10:48:31 +02:00
chardev
crypto
disas
exec exec: Fix overlap of PAGE_ANON and PAGE_TARGET_1 2021-04-12 11:06:24 +01:00
fpu
hw ppc patch queue for 2021-04-21 2021-04-13 13:05:07 +01:00
io
libdecnumber
migration migration: Inhibit virtio-balloon for the duration of background snapshot 2021-04-06 18:56:01 +01:00
monitor
net net: check the existence of peer before trying to pad 2021-04-23 11:11:28 +01:00
qapi Revert "hmp: Use QAPI NetdevInfo in hmp_info_network" 2021-04-08 17:33:59 +08:00
qemu include/qemu/osdep.h: Move system includes to top 2021-04-17 18:44:30 +01:00
qom
scsi
semihosting
standard-headers
sysemu
tcg
ui
user
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h