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

Change behavior of Subscribe to non-blocking. Fix test. #941

Merged
merged 1 commit into from
Mar 1, 2024

Commits on Jan 8, 2024

  1. Change behavior of Subscribe to non-blocking. Fix test.

    When listening for IPv6 address changes, I found that subscribe is not returning when there is message in the socket. After some researching, I found that libnl suggest setting socket to non-blocking when subscribing to groups. (Ref)[https://www.infradead.org/~tgr/libnl/doc/core.html#:~:text=best%20to%20put%20the%20socket%20in%20non-blocking%20mode]
    
    Also fixed test related to BareUDP, which requires "bareudp" kmod. (Ref)[https://www.kernelconfig.io/config_bareudp]
    kuroa-me committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    c5eaf4d View commit details
    Browse the repository at this point in the history