On Fri, 2006-30-06 at 18:32 +0200, Thomas Graf wrote: > * jamal <[EMAIL PROTECTED]> 2006-06-30 10:35 > > Did you actually try to run this before you reached this conclusion? > > I did, fortunately some other bug prevents this from happening, > packets are simply dropped somewhere. >
It is not a bug, Thomas! I am getting a little frustrated now. The packets will be dropped because we set the at field to zero which is invalid. That is done on purpose. It is only meaningful for ifb. The challenge is much bigger than it appears. You could end up deadlocking on the tx lock. So this was the choice i had to make. > > With all due respect, the architecture works. I have invested many many > > hours testing and verifying. There may be coding bugs - and those need > > fixing. Kill the bugs. > > Right, just run this > > tc filter add dev eth0 parent 1: protocol ip prio 10 > u32 match ip tos 0 0 flowid 1:1 > action mirred egress redirect dev ifb1 > tc filter add dev ifb1 parent 1: protocol ip prio 10 > u32 match ip tos 0 0 flowid 1:1 > action mirred egress redirect dev ifb0 > > > Anyways, I give up. I understood you when you first posted. This is part of my testing. Try also to redirect from the same device eth0 to eth0 etc and see some more interesting things. > Last time I've been running after you trying > to fix the many bugs you leave behind. Ever noticed that whenever > you add some new code it's someone else following up with tons of > small bugfix patches having a hard time trying to figure out the > actual intent. You could always ask instead of making assumptions. And dont get me wrong, I honestly do appreciate you fixing bugs. You have been great and i have always thanked you - except in situations like this where you just stress the hell out of me. Bugs will always be there. Even God has bugs - but you are not fixing bugs in this case. You are attempting to change architecture (which works just fine) in the way you think it should work - and then point to something as a bug because it doesnt work the way you think it should work. This is a problem not just with you BTW, but with Patrick as well (although he has gotten better lately). There is a huge difference for example when dealing with Herbert. My approach in situations like this, which you dont have to follow, is to ask first what the intent was then if i dont like the intent try to convince the owner that there maybe better ways. Or why they are wrong. To make my case, look at what you just did above in just the last 2 emails: You made a claim there is a bug. I asked you if you had really tested what you are pointing to (because i know i test for that). You come back and make claims the bug is elsewhere. This could go on forever typically - and infact it is throughout this thread. Didnt ask if this is perhaps the way it is supposed to work or what the intent was. It has to be a bug and by golly you are fixing it. Put yourself in my shoes. > I'll just duplicate the code for my purpose, so > much easier. > Well, I am sorry you feel that way. I dont even remember where it is that we started. cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html