From 39639282d123a5b521cc75c0131e188659a8134f Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Mon, 13 Apr 2026 14:36:21 +0800 Subject: [PATCH] net/mld: remove duplicate net_unlock in mld_gendog_work Remove a redundant net_unlock() call in the early return path of mld_gendog_work(). The network lock is already released at the common exit path, causing a double-unlock. Signed-off-by: zhanghongyu --- net/mld/mld_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mld/mld_timer.c b/net/mld/mld_timer.c index 0c30fde4d0f..7c7e4f1a5ea 100644 --- a/net/mld/mld_timer.c +++ b/net/mld/mld_timer.c @@ -128,7 +128,6 @@ static void mld_gendog_work(FAR void *arg) */ fwarn("WARNING: No device associated with ifindex=%d\n", ifindex); - net_unlock(); return; }