Searched hist:bc38e31b4e0366f3a70c0939abde4c3dd6e0fa30 (Results 1 – 4 of 4) sorted by relevance
/qemu/net/ |
H A D | tap-win32.c | bc38e31b4e0366f3a70c0939abde4c3dd6e0fa30 Fri Apr 23 03:18:03 UTC 2021 Jason Wang <jasowang@redhat.com> 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: 969e50b61a285 ("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>
|
H A D | tap.c | bc38e31b4e0366f3a70c0939abde4c3dd6e0fa30 Fri Apr 23 03:18:03 UTC 2021 Jason Wang <jasowang@redhat.com> 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: 969e50b61a285 ("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>
|
H A D | slirp.c | bc38e31b4e0366f3a70c0939abde4c3dd6e0fa30 Fri Apr 23 03:18:03 UTC 2021 Jason Wang <jasowang@redhat.com> 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: 969e50b61a285 ("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>
|
/qemu/include/net/ |
H A D | net.h | bc38e31b4e0366f3a70c0939abde4c3dd6e0fa30 Fri Apr 23 03:18:03 UTC 2021 Jason Wang <jasowang@redhat.com> 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: 969e50b61a285 ("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>
|