On 4/11/2016 6:04 PM, Thomas Monjalon wrote: > 2016-04-11 17:54, Ferruh Yigit: >> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) >> + (!test_and_set_bit(SOCKWQ_ASYNC_NOSPACE, &q->sock->flags) && >> +#else >> (!test_and_set_bit(SOCK_ASYNC_NOSPACE, &q->sock->flags) && >> +#endif > > You could avoid some issues with backported feature by using > #ifdef SOCKWQ_ASYNC_NOSPACE > Right, I am sending a new version.
Regards, ferruh