Dreaded RTNETLINK answers: Invalid argument

Linux Advanced Routing and Traffic Control

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

 



Hi All,

We are running a 2.4.20 kernel, with the htb modules loaded, and are
receiving the RTNETLINK error when trying to filter on handles.  We also
have the latest tc downloaded from htb site, and verified it is the
executable being executed.  We have tracked it to the {handle 1 fw}
portion.

Hardware is 4501 Soekris and WISP-Dist latest, patched with latest tc.

Any ideas on what would cause this?  TIA

# uname -a
Linux gateway1_1 2.4.20 #10 Thu Feb 20 23:32:48 EET 2003 i486 unknown
# lsmod | grep sch
sch_sfq                 3744   9
sch_htb                18688   2
sch_tbf                 2272   0 (unused)
# ./testc
+ EXT_DEV=eth0
+ UP_CEIL=75
+ DOWN_CEIL=1000
+ tc qdisc add dev eth0 root handle 1: htb default 15
+ tc class add dev eth0 parent 1: classid 1:1 htb rate 75kbit ceil
75kbit
+ tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50kbit ceil
80kbit prio 0
:
:
+ tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1 fw
flowid 1:10
RTNETLINK answers: Invalid argument

removing the handle 1 fw flowid 1:10 gets rid of the error, but
obviously doesn't help us Q as we would like.

Any help would be greatly appreciated.



_______________________________________________
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