patch 'net: fix VLAN insert doc for shared-mbuf error code' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:30 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/3a2502e6ad78ae1532fbef783f87d1455300837f
Thanks.
Kevin
---
>From 3a2502e6ad78ae1532fbef783f87d1455300837f Mon Sep 17 00:00:00 2001
From: William Bland <blandwwa at gmail.com>
Date: Wed, 26 Aug 2026 13:38:38 -0400
Subject: [PATCH] net: fix VLAN insert doc for shared-mbuf error code
[ upstream commit 3ffabed4ba32d4d999759630a23053bcec796b9f ]
The implementation returns -EINVAL when the mbuf is shared or
indirect, but the doc comment inaccurately stated -EPERM.
Fixes: c974021a5949 ("ether: add soft vlan encap/decap")
Signed-off-by: William Bland <blandwwa at gmail.com>
---
.mailmap | 1 +
lib/net/rte_ether.h | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.mailmap b/.mailmap
index ec3c63f83b..45e908efa5 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1817,4 +1817,5 @@ Wenzhuo Lu <wenzhuo.lu at intel.com>
Weqaar Janjua <weqaar.a.janjua at intel.com>
Wiktor Pilarczyk <wiktor.pilarczyk at intel.com>
+William Bland <blandwwa at gmail.com>
William Tu <u9012063 at gmail.com>
Wisam Jaddo <wisamm at nvidia.com> <wisamm at mellanox.com>
diff --git a/lib/net/rte_ether.h b/lib/net/rte_ether.h
index c9a0b536c3..240ba22429 100644
--- a/lib/net/rte_ether.h
+++ b/lib/net/rte_ether.h
@@ -388,6 +388,7 @@ static inline int rte_vlan_strip(struct rte_mbuf *m)
* @return
* - 0: On success
- * -EPERM: mbuf is shared overwriting would be unsafe
- * -ENOSPC: not enough headroom in mbuf
+ * - -EINVAL: overwriting would be unsafe because mbuf is shared or
+ * indirect, or mbuf's first segment is too short
+ * - -ENOSPC: not enough headroom in mbuf
*/
static inline int rte_vlan_insert(struct rte_mbuf **m)
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.586249822 +0000
+++ 0044-net-fix-VLAN-insert-doc-for-shared-mbuf-error-code.patch 2026-12-03 12:52:39.045553185 +0000
@@ -1 +1 @@
-From 3ffabed4ba32d4d999759630a23053bcec796b9f Mon Sep 17 00:00:00 2001
+From 3a2502e6ad78ae1532fbef783f87d1455300837f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3ffabed4ba32d4d999759630a23053bcec796b9f ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index a8ca7f7246..ef64c6bc53 100644
+index ec3c63f83b..45e908efa5 100644
@@ -22 +23 @@
-@@ -1842,4 +1842,5 @@ Wenzhuo Lu <wenzhuo.lu at intel.com>
+@@ -1817,4 +1817,5 @@ Wenzhuo Lu <wenzhuo.lu at intel.com>
More information about the stable
mailing list