Re: [PATCH v6] vhost_net: avoid tx queue stuck when sendmsg fails

2021-01-07 Thread Jakub Kicinski
On Thu, 7 Jan 2021 17:49:45 +0800 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 ca

[PATCH v6] vhost_net: avoid tx queue stuck when sendmsg fails

2021-01-07 Thread wangyunjian
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 thi