Currently there is no API for AF_XDP wait cancellation - only thread termination will reliably abort a wait. Apps can also close the handle, but that introduces a race condition between the wait thread and closehandle thread.
Consider a separate IOCTL that cancels the current/next wait on the socket.
Currently there is no API for AF_XDP wait cancellation - only thread termination will reliably abort a wait. Apps can also close the handle, but that introduces a race condition between the wait thread and closehandle thread.
Consider a separate IOCTL that cancels the current/next wait on the socket.