lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 23 Dec 2020 21:39:19 -0500
From:   Willem de Bruijn <>
To:     wangyunjian <>
Cc:     Network Development <>,
        "Michael S. Tsirkin" <>,
        Jason Wang <>,,
        "Lilijun (Jerry)" <>,
        chenchanghu <>,
        xudingke <>,
        "huangbin (J)" <>
Subject: Re: [PATCH net v4 2/2] vhost_net: fix tx queue stuck when sendmsg fails

On Wed, Dec 23, 2020 at 9:25 PM wangyunjian <> wrote:
> From: Yunjian Wang <>
> Currently the driver doesn't drop a packet which can't be sent by tun
> (e.g bad packet). In this case, the driver will always process the
> same packet lead to the tx queue stuck.
> To fix this issue:
> 1. in the case of persistent failure (e.g bad packet), the driver
> can skip this descriptor by ignoring the error.
> 2. in the case of transient failure (e.g -EAGAIN and -ENOMEM), the
> driver schedules the worker to try again.
> Fixes: 3a4d5c94e959 ("vhost_net: a kernel-level virtio server")
> Signed-off-by: Yunjian Wang <>

Acked-by: Willem de Bruijn <>


Powered by blists - more mailing lists