[PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

David Marchand david.marchand at redhat.com
Tue Mar 1 09:43:54 CET 2022


On Tue, Mar 1, 2022 at 8:29 AM Yuying Zhang <yuying.zhang at intel.com> wrote:
>
> The PMD frees a packet mbuf back into its original mempool
> after sending a packet. However, old data is not cleaned up
> which causes error in payload of new packets. This patch clear
> data of packet mbuf before freeing mbuf.

This patch looks wrong to me.
What is the actual issue you want to fix?


-- 
David Marchand



More information about the stable mailing list