From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1523DA0588; Thu, 16 Apr 2020 05:04:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8CB631DA25; Thu, 16 Apr 2020 05:04:09 +0200 (CEST) Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) by dpdk.org (Postfix) with ESMTP id BFBBF1DA24 for ; Thu, 16 Apr 2020 05:04:07 +0200 (CEST) Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 691A1E0D2DF76C706A6E for ; Thu, 16 Apr 2020 11:04:06 +0800 (CST) Received: from localhost (10.173.251.152) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Thu, 16 Apr 2020 11:03:59 +0800 From: wangyunjian To: , CC: , , , Yunjian Wang Date: Thu, 16 Apr 2020 11:03:57 +0800 Message-ID: <1587006237-21592-1-git-send-email-wangyunjian@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.173.251.152] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH v5 0/5] fixes for tap X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Yunjian Wang This series include five fixes patches for tap PMD driver. -- v5: * fix check fd error v4: * Update some code suggested by Ferruh Yigit and Stephen Hemminger * Update commit log * Add fix leak of fds on failure v3: * Add fix close a vaild fd and netlink socket file descriptor check before close v2: * Add null check in tap_rxq_pool_free() Yunjian Wang (5): net/tap: fix mbuf double free when writev fails net/tap: fix mbuf and mem leak during queue release net/tap: fix check for mbuf's nb_segs failure net/tap: fix close a valid fd net/tap: fix leak of fds on failure drivers/net/tap/rte_eth_tap.c | 106 ++++++++++++++++++++-------------- 1 file changed, 63 insertions(+), 43 deletions(-) -- 2.19.1