[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7O__y1_czX74Ga1RSU-x8X0hUhs2Z01=vo37QUVkNniKQ@mail.gmail.com>
Date: Tue, 17 Mar 2015 13:42:54 -0700
From: Cong Wang <cwang@...pensource.com>
To: Соловьев Сергей <sol@....ru>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: Possible bug in tc tool or kernel
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
Powered by blists - more mailing lists