On Fri, Mar 24, 2017 at 12:46 PM, David Miller wrote:
> From: Cong Wang
> Date: Fri, 24 Mar 2017 10:59:15 -0700
>
>> On Thu, Mar 23, 2017 at 9:02 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> sch_choke is classless qdisc so it does not define cl_ops. Therefore
>>> filter_list cannot be eve
From: Jiri Pirko
Date: Thu, 23 Mar 2017 17:02:16 +0100
> From: Jiri Pirko
>
> sch_choke is classless qdisc so it does not define cl_ops. Therefore
> filter_list cannot be ever changed, being NULL all the time.
> Reason is this check in tc_ctl_tfilter:
>
> /* Is it classful? */
> co
From: Cong Wang
Date: Fri, 24 Mar 2017 10:59:15 -0700
> On Thu, Mar 23, 2017 at 9:02 AM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> sch_choke is classless qdisc so it does not define cl_ops. Therefore
>> filter_list cannot be ever changed, being NULL all the time.
>> Reason is this check in tc
On Thu, Mar 23, 2017 at 9:02 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> sch_choke is classless qdisc so it does not define cl_ops. Therefore
> filter_list cannot be ever changed, being NULL all the time.
> Reason is this check in tc_ctl_tfilter:
Are you sure? According to the definition in com
From: Jiri Pirko
sch_choke is classless qdisc so it does not define cl_ops. Therefore
filter_list cannot be ever changed, being NULL all the time.
Reason is this check in tc_ctl_tfilter:
/* Is it classful? */
cops = q->ops->cl_ops;
if (!cops)
return -EINVA