libndp
libndp copied to clipboard
How to use non blocking operation
The icmpv6 socket ist neither made nonblocking via O_NONBLOCK nor is recvfrom(2) passed MSG_DONTWAIT.
One cloud of course make the the fd nonblocking after retrieving it via ndp_get_eventfd() and check -EAGAIN on ndp_callall_eventfd_handler(). Is that how it's supposed to work?
I saw the NetworkManager code ignore the return of ndp_callall_eventfd_handler() altogether.
I have the same problem, blocking ndp_callall_eventfd_handler
Could you please send a patch? Thanks!