From 77b9393d2f3609956a54a6e7d38bda8ddba6046a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Jul 2025 22:05:03 +0200 Subject: [PATCH] ucode: fix an issue in exception handling improvement for ubus/uloop Remove an uloop_end() call from a user cb that wasn't there before Signed-off-by: Felix Fietkau --- .../102-ubus-add-exception_handler_set-function.patch | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package/utils/ucode/patches/102-ubus-add-exception_handler_set-function.patch b/package/utils/ucode/patches/102-ubus-add-exception_handler_set-function.patch index 34907824953..6b6508d06fc 100644 --- a/package/utils/ucode/patches/102-ubus-add-exception_handler_set-function.patch +++ b/package/utils/ucode/patches/102-ubus-add-exception_handler_set-function.patch @@ -51,15 +51,6 @@ Signed-off-by: Felix Fietkau uc_ubus_call_user_cb(uc_ubus_deferred_t *defer, int ret, uc_value_t *reply) { uc_value_t *this = ucv_get(defer->res); -@@ -587,7 +621,7 @@ uc_ubus_call_user_cb(uc_ubus_deferred_t - uc_vm_stack_push(vm, ucv_int64_new(ret)); - uc_vm_stack_push(vm, ucv_get(reply)); - -- if (uc_vm_call(vm, true, 2) == EXCEPTION_NONE) -+ if (uc_ubus_vm_call(vm, true, 2)) - ucv_put(uc_vm_stack_pop(vm)); - } - @@ -623,10 +657,8 @@ uc_ubus_call_data_user_cb(struct ubus_re uc_vm_stack_push(vm, ucv_get(func)); uc_vm_stack_push(vm, ucv_get(reply));