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 B311BA0562; Sat, 4 Apr 2020 12:16:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92A5E1BEA6; Sat, 4 Apr 2020 12:16:32 +0200 (CEST) Received: from mail2.protei.ru (mail2.protei.ru [62.152.87.202]) by dpdk.org (Postfix) with ESMTP id 8FA311BE9B for ; Sat, 4 Apr 2020 12:16:31 +0200 (CEST) Received: from smtp.protei.ru (imap.protei.ru [10.0.0.6]) by mail2.protei.ru (Postfix) with ESMTP id 402CE4001D97 for ; Sat, 4 Apr 2020 13:16:31 +0300 (MSK) Received: from localhost (unknown [127.0.0.1]) by smtp.protei.ru (Postfix) with ESMTP id 3E33315A05F6; Sat, 4 Apr 2020 10:16:31 +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 xac7DQCMiSr7; Sat, 4 Apr 2020 13:16:31 +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 15F4515A0087; Sat, 4 Apr 2020 13:16:31 +0300 (MSK) From: Vadim Podovinnikov To: dev@dpdk.org Cc: Vadim Podovinnikov Date: Sat, 4 Apr 2020 13:15:57 +0300 Message-Id: <20200404101557.27567-2-podovinnikov@protei.ru> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200404101557.27567-1-podovinnikov@protei.ru> References: <20200404101557.27567-1-podovinnikov@protei.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] 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