Jan Kiszka schrieb:

[EMAIL PROTECTED] schrieb:

Hi everybody,

I think I found a bug in rt_udp_recvmsg (udp.c)
The line if (RTOS_TIME_IS_ZERO(&s->timeout)) {
should be replaced with
if ( ! RTOS_TIME_IS_ZERO(s->timeout)) {
to handle the timeout properly. The original version checks the address for being zero which is not the idea of this condition...



Confirmed, but the actual bug is in rtnet_sys_rtai.h - I will fix it as soon as this LAK2004 storm is over :)



You were also right with the inversion. I inserted a double fault which (un)fortunately did not caused a crash. It's all fixed in the CVS now.


Jan


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to