patch 'test/mbuf: fix mbuf reset test' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 07:59:49 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/01/23. 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.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=fd3e2fb61736ea04d559e5540b52919e4b7cc660

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From fd3e2fb61736ea04d559e5540b52919e4b7cc660 Mon Sep 17 00:00:00 2001
From: Jie Hai <haijie1 at huawei.com>
Date: Tue, 31 Jan 2023 10:48:51 +0800
Subject: [PATCH] test/mbuf: fix mbuf reset test
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit bf47fb83a61a4bc6bf45e1ec6e3ddd239a856190 ]

Retest "mbuf_autotest" will fail because the mbuf pool was
not freed after previous test successful done.
This patch fixes it.

Fixes: efc6f9104c80 ("mbuf: fix reset on mbuf free")

Signed-off-by: Jie Hai <haijie1 at huawei.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
 app/test/test_mbuf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 53fe898a38..6cbb03b0af 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -2764,6 +2764,7 @@ test_nb_segs_and_next_reset(void)
 			m2->nb_segs != 1 || m2->next != NULL)
 		GOTO_FAIL("nb_segs or next was not reset properly");

+	rte_mempool_free(pool);
 	return 0;

 fail:
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-27 14:08:43.517044500 +0800
+++ 0082-test-mbuf-fix-mbuf-reset-test.patch	2023-02-27 14:08:40.809237000 +0800
@@ -1 +1 @@
-From bf47fb83a61a4bc6bf45e1ec6e3ddd239a856190 Mon Sep 17 00:00:00 2001
+From fd3e2fb61736ea04d559e5540b52919e4b7cc660 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit bf47fb83a61a4bc6bf45e1ec6e3ddd239a856190 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list