Message ID | 1587006237-21592-1-git-send-email-wangyunjian@huawei.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <dev@dpdk.org>; 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 <dev@dpdk.org>; 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 <wangyunjian@huawei.com> To: <dev@dpdk.org>, <ferruh.yigit@intel.com> CC: <keith.wiles@intel.com>, <jerry.lilijun@huawei.com>, <xudingke@huawei.com>, Yunjian Wang <wangyunjian@huawei.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series | fixes for tap | |
Message
Yunjian Wang
April 16, 2020, 3:03 a.m. UTC
From: Yunjian Wang <wangyunjian@huawei.com>
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(-)
Comments
On Thu, 16 Apr 2020 11:03:57 +0800 wangyunjian <wangyunjian@huawei.com> wrote: > From: Yunjian Wang <wangyunjian@huawei.com> > > 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(-) > These all look good. Acked-by: Stephen Hemminger <stephen@networkplumber.org>
On 4/16/2020 6:07 AM, Stephen Hemminger wrote: > On Thu, 16 Apr 2020 11:03:57 +0800 > wangyunjian <wangyunjian@huawei.com> wrote: > >> From: Yunjian Wang <wangyunjian@huawei.com> >> >> 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(-) >> > > These all look good. > Acked-by: Stephen Hemminger <stephen@networkplumber.org> > For series, Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Series applied to dpdk-next-net/master, thanks.
On 4/16/2020 6:07 AM, Stephen Hemminger wrote: > On Thu, 16 Apr 2020 11:03:57 +0800 > wangyunjian <wangyunjian@huawei.com> wrote: > >> From: Yunjian Wang <wangyunjian@huawei.com> >> >> 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(-) >> > > These all look good. > Acked-by: Stephen Hemminger <stephen@networkplumber.org> > For series, Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Series applied to dpdk-next-net/master, thanks.