qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for 6.0] net: check the existence of peer before trying to pa


From: Bin Meng
Subject: Re: [PATCH for 6.0] net: check the existence of peer before trying to pad
Date: Fri, 23 Apr 2021 11:24:28 +0800

On Fri, Apr 23, 2021 at 11:18 AM Jason Wang <jasowang@redhat.com> wrote:
>
> 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>
> ---
>  include/net/net.h | 5 +++++
>  net/slirp.c       | 2 +-
>  net/tap-win32.c   | 2 +-
>  net/tap.c         | 2 +-
>  4 files changed, 8 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]