Re: [Linuxptp-users] Fw: “Resource temporarily unavailable” errors during flood ping test
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Stephan G. <ste...@gm...> - 2012-10-30 19:54:46
|
>> --- a/sk.c >> +++ b/sk.c >> >> } >> if (errno == EINTR) { >> try_again++; >> - } else if (errno == EAGAIN) { >> + } else if ((errno == EAGAIN ) || (errno == EWOULDBLOCK)) { > > This does not accomplish anything since: > > --- /usr/include/asm-generic/errno.h --- The man page for recvmsg suggest to check both just for portability. But maybe the whole stuff is so much Linux dependent that it probably makes no sense to distinguish both. Regards, Stephan |