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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:51:19 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/a8022d492a0dfbb48066ef7c73e103a50782e947

Thanks.

Luca Boccassi

---
>From a8022d492a0dfbb48066ef7c73e103a50782e947 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 c5e1c1ae1ba..e73e929a084 100644
--- a/app/graph/conn.c
+++ b/app/graph/conn.c
@@ -197,6 +197,7 @@ conn_free(struct conn *c)
 	free(c->msg_in);
 	free(c->prompt);
 	free(c->welcome);
+	free(c->buf);
 	free(c);
 }
 
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:44:00.795783794 +0000
+++ 0185-app-graph-fix-connection-buffer-leak.patch	2026-10-27 11:43:53.766067248 +0000
@@ -1 +1 @@
-From 668594068641a794157d748bc703aa377c7278bc Mon Sep 17 00:00:00 2001
+From a8022d492a0dfbb48066ef7c73e103a50782e947 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 668594068641a794157d748bc703aa377c7278bc ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index c5e1c1ae1b..e73e929a08 100644
+index c5e1c1ae1ba..e73e929a084 100644


More information about the stable mailing list