Please document this

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux