Bug 95001
Summary: | tc do not create filter rules without any error | ||
---|---|---|---|
Product: | Networking | Reporter: | Sergey Soloview (sol) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | normal | CC: | lyl8000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.18.9-100.fc20.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Sergey Soloview
2015-03-17 13:32:13 UTC
Hello, faced this too. Trying to create filtersw with u32 dst 10.8.20.31/32, but it silently fails: [root@fire2 ~]# tc qdisc del dev eth1 root [root@fire2 ~]# [root@fire2 ~]# uname -a Linux fire2 3.18.10 #1 SMP Thu Nov 19 19:47:38 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux [root@fire2 ~]# tc qdisc add dev eth1 root handle 1: htb default ffff [root@fire2 ~]# [root@fire2 ~]# tc filter add dev eth1 parent 1:0 handle 320: protocol ip u32 divisor 256 [root@fire2 ~]# tc filter show dev eth1 filter parent 1: protocol ip pref 49152 u32 filter parent 1: protocol ip pref 49152 u32 fh 320: ht divisor 256 filter parent 1: protocol ip pref 49152 u32 fh 800: ht divisor 1 [root@fire2 ~]# tc filter add dev eth1 protocol ip parent 1:0 prio 14344 u32 ht 320:1f: match ip dst 10.8.20.31/32 flowid 1:fff5 [root@fire2 ~]# tc filter show dev eth1 filter parent 1: protocol ip pref 14344 u32 filter parent 1: protocol ip pref 14344 u32 fh 801: ht divisor 1 filter parent 1: protocol ip pref 49152 u32 filter parent 1: protocol ip pref 49152 u32 fh 320: ht divisor 256 filter parent 1: protocol ip pref 49152 u32 fh 800: ht divisor 1 [root@fire2 ~]# [root@fire2 ~]# |