From: Stephen Hemminger Date: Fri, 23 Jul 2004 16:28:01 +0000 Subject: [LARTC] Re: Please document this Message-Id: <20040723092801.264f485b@dell_ss3.pdx.osdl.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, 23 Jul 2004 07:06:45 -0700 gypsy wrote: > Stephen, > > This REALLY needs to be fixed in the code; tc should reject as a syntax > error any "add filter" command that does not include a "prio" > parameter. It also needs to be documented. > > == From LARTC mailing list => > Dear list, > > After much code crunching and beating my head against the wall > > (literally), I discovered the faulty code. Thanks mostly to gypsy who > > played a huge role in helping me discover the problem. My tc filter line > > had an error in it which completely baffles me because it worked up > > until 2045 lines were entered. > > > > Old command: > > tc filter add dev $dev protocol ip parent 12: u32 ht 2:$table1: ht > > 3:$table2: match ip dst $ip/32 flowid 12:$classid > > > > New command: > > tc filter add dev $dev protocol ip parent 12: prio 5 u32 ht 2:$table1: > > ht 3:$table2: match ip dst $ip/32 flowid 12:$classid > > > > Who would have thought that a prio would cause that much trouble? > > Thanks, > gypsy I'll get to it but not right away. If you want something fixed sooner submit your patch. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/