Files
qemu/include/net
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Stefan Weil <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
2021-04-23 11:11:28 +01:00
..
2019-07-02 10:21:06 +08:00
2020-09-18 14:12:32 -04:00
2021-03-15 16:41:22 +08:00