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

2020-09-14 Thread Ferruh Yigit
On 8/8/2020 10:58 AM, wangyunjian wrote: > From: Yunjian Wang > > 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 O

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

2020-08-08 Thread wangyunjian
From: Yunjian Wang 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. The snprintf function return value is not checke