ucode: update to Git HEAD (2025-11-19)
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

8567eef4d3a5 examples/execute-file: free program
292e0f87cbf7 examples: free syntax_error
fd5889028f5e Revert "nl80211: read all pending event messages"
80a88b852620 types: add ucv_string_alloc helper function

The removed patch was applied upstream.

Link: https://github.com/openwrt/openwrt/pull/20850
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2025-11-21 02:08:09 +01:00
parent bca5e064af
commit 34aa008923
2 changed files with 3 additions and 25 deletions

View file

@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/jow-/ucode.git
PKG_SOURCE_DATE:=2025-11-07
PKG_SOURCE_VERSION:=ea579046a619e5325b994780bf2ce1ffde448794
PKG_MIRROR_HASH:=4c152c337963eda588650f439f7633fc1ead20864d8939e45fd95563ea2b0b4f
PKG_SOURCE_DATE:=2025-11-19
PKG_SOURCE_VERSION:=48ed18d2532e9197212c34473ab926c7b5e8ac73
PKG_MIRROR_HASH:=34529706bcb413dffb3d73e78fe97971bd2b518c097c86470edadc1ca79a480c
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=ISC

View file

@ -1,22 +0,0 @@
From: Felix Fietkau <nbd@nbd.name>
Date: Tue, 14 Oct 2025 10:59:26 +0000
Subject: [PATCH] Revert "nl80211: read all pending event messages"
This reverts commit 387880348c89b5be54ddf13b9543b19266dd02ae.
This commit is broken and causes infinite polling on netlink sockets.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
--- a/lib/nl80211.c
+++ b/lib/nl80211.c
@@ -2722,8 +2722,7 @@ uc_nl_request(uc_vm_t *vm, size_t nargs)
static void
uc_nl_listener_cb(struct uloop_fd *fd, unsigned int events)
{
- while (nl_recvmsgs(nl80211_conn.evsock, nl80211_conn.evsock_cb) == 0)
- ;
+ nl_recvmsgs(nl80211_conn.evsock, nl80211_conn.evsock_cb);
}
static uc_value_t *