Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: roid@mellanox.com
Cc: netdev@vger.kernel.org, paulb@mellanox.com, jiri@mellanox.com,
	xiyou.wangcong@gmail.com, jhs@mojatatu.com,
	ogerlitz@mellanox.com
Subject: Re: [PATCH net] net/sched: Fix update of lastuse in act modules implementing stats_update
Date: Tue, 02 Jan 2018 13:28:54 -0500 (EST)	[thread overview]
Message-ID: <20180102.132854.1445910631179933564.davem@davemloft.net> (raw)
In-Reply-To: <1514267331-18753-1-git-send-email-roid@mellanox.com>

From: Roi Dayan <roid@mellanox.com>
Date: Tue, 26 Dec 2017 07:48:51 +0200

> We need to update lastuse to to the most updated value between what
> is already set and the new value.
> If HW matching fails, i.e. because of an issue, the stats are not updated
> but it could be that software did match and updated lastuse.
> 
> Fixes: 5712bf9c5c30 ("net/sched: act_mirred: Use passed lastuse argument")
> Fixes: 9fea47d93bcc ("net/sched: act_gact: Update statistics when offloaded to hardware")
> Signed-off-by: Roi Dayan <roid@mellanox.com>
> Reviewed-by: Paul Blakey <paulb@mellanox.com>
> Acked-by: Jiri Pirko <jiri@mellanox.com>

Applied and queued up for -stable.

      reply	other threads:[~2018-01-02 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-26  5:48 [PATCH net] net/sched: Fix update of lastuse in act modules implementing stats_update Roi Dayan
2018-01-02 18:28 ` David Miller [this message]

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=20180102.132854.1445910631179933564.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jhs@mojatatu.com \
    --cc=jiri@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=paulb@mellanox.com \
    --cc=roid@mellanox.com \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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