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 1E8D8A0562; Sat, 4 Apr 2020 12:16:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67A8C5F13; Sat, 4 Apr 2020 12:16:25 +0200 (CEST) Received: from mail2.protei.ru (mail2.protei.ru [62.152.87.202]) by dpdk.org (Postfix) with ESMTP id 7C154FFA for ; Sat, 4 Apr 2020 12:16:23 +0200 (CEST) Received: from smtp.protei.ru (imap.protei.ru [10.0.0.6]) by mail2.protei.ru (Postfix) with ESMTP id 062074001D97 for ; Sat, 4 Apr 2020 13:16:22 +0300 (MSK) Received: from localhost (unknown [127.0.0.1]) by smtp.protei.ru (Postfix) with ESMTP id CE877114F155; Sat, 4 Apr 2020 10:16:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at protei.ru Received: from smtp.protei.ru ([127.0.0.1]) by localhost (imap.protei.ru [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id F9fPvB2kGKgv; Sat, 4 Apr 2020 13:16:22 +0300 (MSK) Received: from localhost.localdomain (unknown [188.243.109.228]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.protei.ru (Postfix) with ESMTPSA id 9A00C10FE64D; Sat, 4 Apr 2020 13:16:22 +0300 (MSK) From: Vadim Podovinnikov To: dev@dpdk.org Cc: Vadim Podovinnikov Date: Sat, 4 Apr 2020 13:15:56 +0300 Message-Id: <20200404101557.27567-1-podovinnikov@protei.ru> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1] fix memif does not free resources 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" Signed-off-by: Vadim Podovinnikov --- 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 81d71c53a..653ffa9b8 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, } - 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.26.0