From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Fri, 23 Jul 2004 14:06:45 +0000 Subject: [LARTC] Please document this Message-Id: <41011B75.238F1C4F@iswest.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/