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 85E5DA0093 for ; Tue, 19 May 2020 15:08:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7BE101D603; Tue, 19 May 2020 15:08:25 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 0BE6C1D603 for ; Tue, 19 May 2020 15:08:24 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id l17so15852606wrr.4 for ; Tue, 19 May 2020 06:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=60QsllcngpRIYM8Rh5PCI/0/KnVwLYL/lufkpn8RR9c=; b=gRZtQ1WYAscL20rrLeUEoPa8yZdxE83voaqKk7F4capRnb2j0GMT0zJaETka95BAnr iKcoeCVP4/U3Q3cXUAlRr7XUuHSKHXxdEayorFmlZZbAQbtC/954f5fdgZOMmufG+xbc bh7yKfNF+TuNnDuX82ftaHoYVqT1MHoUzQbKWv070NCkSA3LWMpe9ORRGtx3HOtV3kqJ oQ0Rv5UGH4qIDO/XKzHcb52JiYX7XprqCog9y0XdsTooyJ2VCBReRL5kuDm97JCkdp85 QyJvH6ZMXt6rq6Zs1UiwmQs5Qj4KLc/VN97WDb0TnCJQhqoDDYaumkIyI3l7jby2Pe/c 0wNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=60QsllcngpRIYM8Rh5PCI/0/KnVwLYL/lufkpn8RR9c=; b=IUU6MY5r7G9mnEZimY2gUHhZw1AAYwr/dB7IIA5poXCFd4/zBJp8pGohAujTHyAqTD X0zewcuvDkCK4m3ntFaASOlcZzCGI+vGdL069k3aBV2M8TPR3PS91wDOUfYD+TtZjGqN 3kr7pxn9AfyNeW6JHwb9pA1qIa0/l/SYAcfDa2zHAPPwaDIkGELhS2U/qyPHTRl98tGS P9Td77ntI0z1LQ+CkaoL/ltMgwPwWzVfLvvvF6exxxofYVxeaT9PiMrLNHc0ZHcciaWD pw6Z9SXBhzEIzaKYhxVm9Bg0t4iPGjYDP5NfUHQTaFCj3Wr5yHCYLJc5vxMx3MsNRoMu btpw== X-Gm-Message-State: AOAM531lEgEXEdg9DkusBKzt0KAAqDckhYS9l7r3btNyceojBCf3fsBd K/Hby2cG3g2ClnIdDCZcstEMCmaA93Ku18Lc X-Google-Smtp-Source: ABdhPJy13/NSooH4dfzxplfSP4KeDJntCY3wZNqQdP6sCOXaQsUtpJBM5Ok9Jv7TaU4733/v5OUrBg== X-Received: by 2002:adf:9567:: with SMTP id 94mr25377500wrs.167.1589893703631; Tue, 19 May 2020 06:08:23 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id w15sm3623687wmi.35.2020.05.19.06.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:08:23 -0700 (PDT) From: luca.boccassi@gmail.com To: Vadim Podovinnikov Cc: Ferruh Yigit , dpdk stable Date: Tue, 19 May 2020 14:03:04 +0100 Message-Id: <20200519130549.112823-49-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/memif: fix resource leak' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From c6f822199aaa3f626848555e0204b424e9f7ebd6 Mon Sep 17 00:00:00 2001 From: Vadim Podovinnikov Date: Sat, 4 Apr 2020 13:15:57 +0300 Subject: [PATCH] net/memif: fix resource leak [ upstream commit 321908b6e3fe8347970edf06ff38f82e70cd6ef2 ] Fixes: c41a04958b09 ("net/memif: support multi-process") Signed-off-by: Vadim Podovinnikov Reviewed-by: Ferruh Yigit --- drivers/net/memif/rte_eth_memif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index 8dd1d0d63d..aa83df3652 100644 --- a/drivers/net/memif/rte_eth_memif.c +++ b/drivers/net/memif/rte_eth_memif.c @@ -1501,7 +1501,7 @@ memif_create(struct rte_vdev_device *vdev, enum memif_role_t role, } - eth_dev->data->dev_flags &= RTE_ETH_DEV_CLOSE_REMOVE; + eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE; rte_eth_dev_probing_finish(eth_dev); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:46.524581001 +0100 +++ 0049-net-memif-fix-resource-leak.patch 2020-05-19 14:04:44.188647865 +0100 @@ -1,10 +1,11 @@ -From 321908b6e3fe8347970edf06ff38f82e70cd6ef2 Mon Sep 17 00:00:00 2001 +From c6f822199aaa3f626848555e0204b424e9f7ebd6 Mon Sep 17 00:00:00 2001 From: Vadim Podovinnikov Date: Sat, 4 Apr 2020 13:15:57 +0300 Subject: [PATCH] net/memif: fix resource leak +[ upstream commit 321908b6e3fe8347970edf06ff38f82e70cd6ef2 ] + Fixes: c41a04958b09 ("net/memif: support multi-process") -Cc: stable@dpdk.org Signed-off-by: Vadim Podovinnikov Reviewed-by: Ferruh Yigit @@ -13,10 +14,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c -index 81d71c53a7..653ffa9b8c 100644 +index 8dd1d0d63d..aa83df3652 100644 --- a/drivers/net/memif/rte_eth_memif.c +++ b/drivers/net/memif/rte_eth_memif.c -@@ -1510,7 +1510,7 @@ memif_create(struct rte_vdev_device *vdev, enum memif_role_t role, +@@ -1501,7 +1501,7 @@ memif_create(struct rte_vdev_device *vdev, enum memif_role_t role, }