libndp icon indicating copy to clipboard operation
libndp copied to clipboard

How to use non blocking operation

Open afett opened this issue 7 years ago • 2 comments

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.

afett avatar Apr 17 '18 15:04 afett

I have the same problem, blocking ndp_callall_eventfd_handler

bitcoffeeiux avatar Feb 20 '21 07:02 bitcoffeeiux

Could you please send a patch? Thanks!

jpirko avatar Dec 12 '23 12:12 jpirko