[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <550AE10A.5080604@eqv.ru>
Date: Thu, 19 Mar 2015 17:45:30 +0300
From: Соловьев Сергей <sol@....ru>
To: Cong Wang <cwang@...pensource.com>
CC: netdev <netdev@...r.kernel.org>
Subject: Re: Possible bug in tc tool or kernel
17.03.2015 23:42, Cong Wang пишет:
> On Tue, Mar 17, 2015 at 2:57 AM, Соловьев Сергей <sol@....ru> wrote:
>> Hi!
>>
>> I'm sol sorry, but English in not my native language.
>>
>> After upgrade kernel tc lost some u32 filters
>>
>> example: where is a "match ip dst 10.10.0.0/24" entries?
>>
> Can you check if the following commit fixes your problem?
>
> It is already merged in stable kernel, you probably need to
> wait for a newer Fedora kernel release if it has included it.
>
> commit b057df24a7536cce6c372efe9d0e3d1558afedf4
> Author: Ignacy Gawędzki <ignacy.gawedzki@...en-communications.fr>
> Date: Tue Feb 3 19:05:18 2015 +0100
>
> cls_api.c: Fix dumping of non-existing actions' stats.
>
> In tcf_exts_dump_stats(), ensure that exts->actions is not empty before
> accessing the first element of that list and calling tcf_action_copy_stats()
> on it. This fixes some random segvs when adding filters of type
> "basic" with
> no particular action.
>
> This also fixes the dumping of those "no-action" filters, which more often
> than not made calls to tcf_action_copy_stats() fail and consequently netlink
> attributes added by the caller to be removed by a call to nla_nest_cancel().
>
> Fixes: 33be62715991 ("net_sched: act: use standard struct list_head")
> Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@...en-communications.fr>
> Acked-by: Cong Wang <cwang@...pensource.com>
> Signed-off-by: David S. Miller <davem@...emloft.net>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Checked. This patch is applied to my kernel and not fixes this problem.
tc as part of iproute2 freshed to latest 3.19.0 version, but nothing...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists