mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
the uloop binding was not closing the uloop epoll fd correcttl when forking. Signed-off-by: John Crispin <john@phrozen.org>
14 lines
406 B
Diff
14 lines
406 B
Diff
Index: ucode-2022-04-07-7fa59ce4/lib/uloop.c
|
|
===================================================================
|
|
--- ucode-2022-04-07-7fa59ce4.orig/lib/uloop.c
|
|
+++ ucode-2022-04-07-7fa59ce4/lib/uloop.c
|
|
@@ -971,6 +971,8 @@ uc_uloop_task(uc_vm_t *vm, size_t nargs)
|
|
err_return(errno);
|
|
|
|
if (pid == 0) {
|
|
+ uloop_done();
|
|
+
|
|
patch_devnull(0, false);
|
|
patch_devnull(1, true);
|
|
patch_devnull(2, true);
|