[dpdk-dev] [PATCH v4 2/5] net/tap: fix mbuf and mem leak during queue release

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 15 17:08:59 CEST 2020


On 4/11/2020 12:22 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> For the tap PMD, we should release mbufs and iovecs from the Rx queue when
> closing device. In order to remove duplicated code, rte_pmd_tap_remove()
> calls tap_dev_close().
> 
> Fixes: 0781f5762cfe ("net/tap: support segmented mbufs")
> CC: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list