Re: deleting a single filter deleting all the filters !!!

Linux Advanced Routing and Traffic Control

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

 



I am running sl6.3 (i.e. kernel 2.6.32-279). I upgraded the kernel
using elrepo to kernel 4.1.6.


Its working correctly (i.e. deleting only a single filter) on kernel
2.6.32-279. But then what could be the issue with kernel 4.1.6 ? Is it
because of kernel upgrade ?

On Wed, Aug 19, 2015 at 5:54 PM, Akshat Kakkar <akshat.1984@xxxxxxxxx> wrote:
> I am trying to delete a single filter only, however I am unable to
> achieve it. When I am executing the command to delete a single filter,
> it is deleting all the filters.
>
> Following are the commands I am trying :
>
>
> tc qdisc add dev eth1 root handle 1: htb
> tc class add dev eth1 parent 1: classid 1:10 htb rate 1mbit
>
>
> tc filter add dev eth1 parent 1:0 prio 5 handle ffe: protocol ip u32 divisor 256
> tc filter add dev eth1 parent 1:0 prio 5 handle ffd: protocol ip u32 divisor 256
> tc filter add dev eth1 parent 1:0 prio 5 handle ffc: protocol ip u32 divisor 256
> tc filter add dev eth1 protocol ip parent 1: prio 5 handle ffe:2:3 u32
> ht ffe:2: match ip src 10.0.0.3 flowid 1:10
> tc filter add dev eth1 protocol ip parent 1: prio 5 handle ffe:2:2 u32
> ht ffe:2: match ip src 10.0.0.2 flowid 1:10
> tc filter del dev eth1 protocol ip parent 1: prio 5 handle ffe:2:3 u32
>
> This last command is deleting all the filters!!!
>
> Please help ...
--
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