[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200518.173304.1928081655387944185.davem@davemloft.net>
Date: Mon, 18 May 2020 17:33:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mrv@...atatu.com
Cc: netdev@...r.kernel.org, kernel@...atatu.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us
Subject: Re: [PATCH net 1/1] net sched: fix reporting the first-time use
timestamp
From: Roman Mashak <mrv@...atatu.com>
Date: Sun, 17 May 2020 08:46:31 -0400
> When a new action is installed, firstuse field of 'tcf_t' is explicitly set
> to 0. Value of zero means "new action, not yet used"; as a packet hits the
> action, 'firstuse' is stamped with the current jiffies value.
>
> tcf_tm_dump() should return 0 for firstuse if action has not yet been hit.
>
> Fixes: 48d8ee1694dd ("net sched actions: aggregate dumping of actions timeinfo")
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Signed-off-by: Roman Mashak <mrv@...atatu.com>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists