patch 'app/graph: fix connection buffer leak' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:02:28 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. 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://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/545728240c3c5fbec8eb8e4d512ea5ab1529d0fd

Thanks.

Kevin

---
>From 545728240c3c5fbec8eb8e4d512ea5ab1529d0fd Mon Sep 17 00:00:00 2001
From: Alexey Simakov <bigalex934 at gmail.com>
Date: Tue, 2 Jun 2026 16:12:58 +0300
Subject: [PATCH] app/graph: fix connection buffer leak

[ upstream commit 668594068641a794157d748bc703aa377c7278bc ]

In conn_init(), conn_free() does not release the buffer allocated
for conn structure, resulting in a memory leak.

Add missing free(c->buf) call to conn_free().

Fixes: 3f90eda5b7fb ("app/graph: add telnet connectivity")

Signed-off-by: Alexey Simakov <bigalex934 at gmail.com>
---
 app/graph/conn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/graph/conn.c b/app/graph/conn.c
index c5e1c1ae1b..e73e929a08 100644
--- a/app/graph/conn.c
+++ b/app/graph/conn.c
@@ -198,4 +198,5 @@ conn_free(struct conn *c)
 	free(c->prompt);
 	free(c->welcome);
+	free(c->buf);
 	free(c);
 }
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:45.561234498 +0000
+++ 0222-app-graph-fix-connection-buffer-leak.patch	2026-12-03 12:52:39.189989982 +0000
@@ -1 +1 @@
-From 668594068641a794157d748bc703aa377c7278bc Mon Sep 17 00:00:00 2001
+From 545728240c3c5fbec8eb8e4d512ea5ab1529d0fd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 668594068641a794157d748bc703aa377c7278bc ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list