[dpdk-stable] patch 'net/memif: fix resource leak' has been queued to stable release 19.11.3
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue May 19 15:03:04 CEST 2020
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 <podovinnikov at protei.ru>
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 <podovinnikov at protei.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
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 <podovinnikov at protei.ru>
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 at dpdk.org
Signed-off-by: Vadim Podovinnikov <podovinnikov at protei.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
@@ -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,
}
More information about the stable
mailing list