On 9/15/21 11:19, Andrew Rybchenko wrote:
From: Ivan Ilchenko <[email protected]> Free Tx completed mbufs on device stop. Not completed Tx mbufs cannot be freed since they are still in use. Fixes: c1f86306a02 ("virtio: add new driver") Cc: [email protected] Signed-off-by: Ivan Ilchenko <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> --- v2: - check vq pointer vs NULL before calling cleanup function drivers/net/virtio/virtio_ethdev.c | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
Reviewed-by: Maxime Coquelin <[email protected]> Thanks, Maxime

