You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/04/13 11:47:08 UTC
(nuttx) 04/07: net/mld: remove duplicate net_unlock in mld_gendog_work
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 39639282d123a5b521cc75c0131e188659a8134f
Author: zhanghongyu <zh...@xiaomi.com>
AuthorDate: Mon Apr 13 14:36:21 2026 +0800
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 <zh...@xiaomi.com>
---
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;
}