Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubus: fix uc_ubus_have_uloop for eloop+uloop combination #198

Merged
merged 1 commit into from
May 2, 2024

Commits on May 2, 2024

  1. ubus: fix uc_ubus_have_uloop for eloop+uloop combination

    When uloop has been integrated with eloop (in hostapd/wpa_supplicant),
    uloop_cancelling will return false, since uloop_run is not being called.
    This leads to ubus.defer() calling uloop_run in a context where it can
    prevent the other event loop from running.
    
    Fix this by detecting event loop integration via uloop_fd_set_cb being set
    
    Signed-off-by: Felix Fietkau <[email protected]>
    nbd168 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    f211d5a View commit details
    Browse the repository at this point in the history