BUG in bpf ?

2014-12-17 Thread Mages Simon
Hi, if BIOCGRTIMEOUT is set, we should wait for the timeout and not just set EWOULDBLOCK. From my point of view the whole 'if' is unnecessary. If the User doesn't set a timeout we have to wait anyway with tsleep() and loop again. Well, and if the timeout is set, we should tsleep() for the set

Re: BUG in bpf ?

2014-12-17 Thread Philip Guenther
On Wed, Dec 17, 2014 at 12:55 AM, Mages Simon mages.si...@googlemail.com wrote: if BIOCGRTIMEOUT is set, we should wait for the timeout and not just set EWOULDBLOCK. From my point of view the whole 'if' is unnecessary. If the User doesn't set a timeout we have to wait anyway with tsleep() and