M. Koehrer wrote:
> Hi everybody,
> 
> after a hard day of debugging we finally detected a bug in rtnet which led to 
> the issue.
> I have enclosed a patch for rtnet-0.9.3 that fixes the bug and makes the 
> function __rtskb_fifo_remove
> really interrupt save.
> Jan, thanks for your great support! Can you please check that patch into 
> subversion?

You got! Please hand me a brown paper bag.

The problem is that we first read the content of the next FIFO slot and
then check if there is actually something enqueued. If the FIFO reader
gets preempted right between those two ops by the writer and the FIFO
then changes its state from empty to non-empty, the previously read slot
entry is wrongly declared valid belatedly - ouch.

Ok, this is a critical fix for all 0.9.3 users! Please update to SVN
head or apply Mathias's patch. I will try to roll out 0.9.4 over this
weekend. People on 0.9.2 or earlier are not affected.

Many thanks back to Mathias for patiently tracking down and fixing the
issue!

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to