patch 'net/enic: check notify set return value during init' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:58:57 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/2d33a842da04576375d9aa8c6c94e8041a9e72a6

Thanks.

Kevin

---
>From 2d33a842da04576375d9aa8c6c94e8041a9e72a6 Mon Sep 17 00:00:00 2001
From: Alexey Simakov <bigalex934 at gmail.com>
Date: Mon, 20 Jul 2026 12:33:39 +0300
Subject: [PATCH] net/enic: check notify set return value during init

[ upstream commit 7b3647137055811a0f6d3fe43da517cf9ba11c9b ]

The return value of vnic_dev_notify_set() is silently ignored in
enic_dev_init(), so a memory allocation failure or hardware command
error goes unnoticed and the driver continues with uninitialized
notification state.

Check the return value and propagate the error to abort probe when
notification setup fails.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: Alexey Simakov <bigalex934 at gmail.com>
Acked-by: Hyong Youb Kim <hyonkim at cisco.com>
---
 drivers/net/enic/enic_main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 2696fa77d4..2a1a65d8da 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -1888,5 +1888,9 @@ static int enic_dev_init(struct enic *enic)
 
 	/* set up link status checking */
-	vnic_dev_notify_set(enic->vdev, -1); /* No Intr for notify */
+	err = vnic_dev_notify_set(enic->vdev, -1); /* No Intr for notify */
+	if (err) {
+		dev_err(enic, "failed to enable notify buffer\n");
+		return err;
+	}
 
 	enic->overlay_offload = false;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:39.675474193 +0000
+++ 0011-net-enic-check-notify-set-return-value-during-init.patch	2026-12-03 12:52:39.021938567 +0000
@@ -1 +1 @@
-From 7b3647137055811a0f6d3fe43da517cf9ba11c9b Mon Sep 17 00:00:00 2001
+From 2d33a842da04576375d9aa8c6c94e8041a9e72a6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7b3647137055811a0f6d3fe43da517cf9ba11c9b ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list