[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200511143758.GA24761@salvia>
Date: Mon, 11 May 2020 16:37:58 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Paul Blakey <paulb@...lanox.com>
Cc: Oz Shlomo <ozsh@...lanox.com>, Roi Dayan <roid@...lanox.com>,
netdev@...r.kernel.org, Saeed Mahameed <saeedm@...lanox.com>,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH net] netfilter: flowtable: Add pending bit for offload
work
On Wed, May 06, 2020 at 02:24:39PM +0300, Paul Blakey wrote:
> Gc step can queue offloaded flow del work or stats work.
> Those work items can race each other and a flow could be freed
> before the stats work is executed and querying it.
> To avoid that, add a pending bit that if a work exists for a flow
> don't queue another work for it.
> This will also avoid adding multiple stats works in case stats work
> didn't complete but gc step started again.
Applied to nf, thanks.
Powered by blists - more mailing lists