Re: [PATCH net v3 2/2] vhost_net: fix tx queue stuck when sendmsg fails

2020-12-23 Thread Willem de Bruijn
On Wed, Dec 23, 2020 at 9:47 AM wangyunjian wrote: > > From: Yunjian Wang > > Currently the driver don't drop a packet which can't be send 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 cas

[PATCH net v3 2/2] vhost_net: fix tx queue stuck when sendmsg fails

2020-12-23 Thread wangyunjian
From: Yunjian Wang Currently the driver don't drop a packet which can't be send 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 des