public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Соловьев Сергей" <sol@eqv•ru>
To: Cong Wang <cwang@twopensource•com>
Cc: netdev <netdev@vger•kernel.org>
Subject: Re: Possible bug in tc tool or kernel
Date: Thu, 19 Mar 2015 17:45:30 +0300	[thread overview]
Message-ID: <550AE10A.5080604@eqv.ru> (raw)
In-Reply-To: <CAHA+R7O__y1_czX74Ga1RSU-x8X0hUhs2Z01=vo37QUVkNniKQ@mail.gmail.com>

17.03.2015 23:42, Cong Wang пишет:
> On Tue, Mar 17, 2015 at 2:57 AM, Соловьев Сергей <sol@eqv•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@green-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@green-communications•fr>
>      Acked-by: Cong Wang <cwang@twopensource•com>
>      Signed-off-by: David S. Miller <davem@davemloft•net>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger•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...

  parent reply	other threads:[~2015-03-19 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17  9:57 Possible bug in tc tool or kernel Соловьев Сергей
2015-03-17 20:42 ` Cong Wang
2015-03-17 21:21   ` Vadim Kochan
2015-03-19 14:45   ` Соловьев Сергей [this message]
2015-03-19 17:40     ` Cong Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=550AE10A.5080604@eqv.ru \
    --to=sol@eqv$(echo .)ru \
    --cc=cwang@twopensource$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox