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

Ling, WeiX weix.ling at intel.com
Tue Mar 1 09:38:00 CET 2022


> -----Original Message-----
> From: Yuying Zhang <yuying.zhang at intel.com>
> Sent: Tuesday, March 1, 2022 3:28 PM
> To: dev at dpdk.org; maxime.coquelin at redhat.com; Xia, Chenbo
> <chenbo.xia at intel.com>
> Cc: Zhang, Yuying <yuying.zhang at intel.com>; stable at dpdk.org
> Subject: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts
>
> 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.
>
> Fixes: ee584e9710b9 ("vhost: add driver on top of the library")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>
> ---
Tested-by: Wei Ling <weix.ling at intel.com>


More information about the stable mailing list