[dpdk-stable] [dpdk-dev] [PATCH] net/tap: free mempool when closing

Thomas Monjalon thomas at monjalon.net
Wed Aug 5 15:47:34 CEST 2020


29/07/2020 13:35, wangyunjian:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> When setup tx queues, we will create a mempool for the 'gso_ctx'.
> The mempool is not freed when closing tap device. If free the tap
> device and create it with different name, it will create a new
> mempool. This maybe cause an OOM.

While at it, please look at implementing RTE_ETH_DEV_CLOSE_REMOVE
behaviour in tap. Thanks




More information about the stable mailing list