Multiple filters having same filter id ???

Linux Advanced Routing and Traffic Control

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

 



I executed simply following 3 commands



tc qdsic add dev eth0 root handle 1: htb

tc filter add dev dev eth0 protocol ip parent 1:0 prio 10 handle ::1
u32 ht 800:0 match ip src 192.168.1.1

tc filter add dev dev eth0 protocol ip parent 1:0 prio 10 handle ::1
u32 ht 800:0 match ip src 192.168.1.2



Clearly, second filter is being inserted in the same location (i.e.
same filter id 800:0:1) as the first filter. There was no error
generated and infact when I listed the filters, using

tc filter show dev eth0

both the filters are listed!!

Is this a bug or a feature which I am unware of or something else?
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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