Commit Graph

4 Commits

Author SHA1 Message Date
Quan Tian 1e68b2710d Revert "Change behavior of `Subscribe` to non-blocking. Fix test."
This reverts commit 916f9685fa.
2024-05-23 09:21:30 -07:00
Kuroame 916f9685fa 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]
2024-03-01 13:38:14 -08:00
btwotch b4489369dd proc-event-linux: remove unused struct 2023-07-14 14:26:23 +02:00
Aditi Ghag 0639e7e787 Fix darwin target compilation
dd687eb broke compilation on mac OS (darwin target). Rename the
linux specific files accordingly.

Fixes: dd687eb
2022-01-25 13:50:16 -06:00