[RTnet-users] Re: Problem with protocol socket

2005-06-07 Thread Qeltaras
I used your, patch, It work, but when my second ethernet card receive the pachet the system retourne: UNEXPECTED FPU TRAP FROM HARD PID = 0 RTnet: unknown layer-3 protocol I think the first it's a problem with the dirver rt_8139too with 2 ethernet card but the second i don't know, because I'used

[RTnet-users] Re: Problem with protocol socket

2005-06-06 Thread Petr Grillinger
As Jan already mentioned, the patch was an error. I tried to fix it: the version attached here should apply cleanly, but I did not try it out, since I do not use it anymore. It provides (roughly) what I think you need. Use it with a grain of salt, please :-) I suspect, that you will get into troub

Re: [RTnet-users] Re: Problem with protocol socket

2005-05-30 Thread Petr Grillinger
You are correct. The freeing must be moved as it was before. I forgot that my original code does check the use count - I removed this from the patch to make it smaller (my sharing of SKB has the ownership problem you already mentioned). I will see if I can send a corrected version soon. Regards,

Re: [RTnet-users] Re: Problem with protocol socket

2005-05-30 Thread Jan Kiszka
Hi Petr, I am not sure if the small patch helps you but you may want to try it out (version 0.8.0). It is a part of much larger patch, so I am not realy sure if it works alone (it should), you probably would not want the whole thing. It uses a linked lists of protocol handlers (just like normal

[RTnet-users] Re: Problem with protocol socket

2005-05-30 Thread Petr Grillinger
I am not sure if the small patch helps you but you may want to try it out (version 0.8.0). It is a part of much larger patch, so I am not realy sure if it works alone (it should), you probably would not want the whole thing. It uses a linked lists of protocol handlers (just like normal Linux). The