[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220217230957.xovkve564x6qqucc@t14s.localdomain>
Date: Thu, 17 Feb 2022 20:09:57 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Paul Blakey <paulb@...dia.com>
Cc: dev@...nvswitch.org, netdev@...r.kernel.org,
Jamal Hadi Salim <jhs@...atatu.com>, davem@...emloft.net,
Jiri Pirko <jiri@...dia.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jakub Kicinski <kuba@...nel.org>, Oz Shlomo <ozsh@...dia.com>,
Vlad Buslov <vladbu@...dia.com>, Roi Dayan <roid@...dia.com>,
Ariel Levkovich <lariel@...dia.com>
Subject: Re: [PATCH net 1/1] net/sched: act_ct: Fix flow table lookup after
ct clear or switching zones
On Thu, Feb 17, 2022 at 11:30:48AM +0200, Paul Blakey wrote:
> Flow table lookup is skipped if packet either went through ct clear
> action (which set the IP_CT_UNTRACKED flag on the packet), or while
> switching zones and there is already a connection associated with
> the packet. This will result in no SW offload of the connection,
> and the and connection not being removed from flow table with
> TCP teardown (fin/rst packet).
>
> To fix the above, remove these unneccary checks in flow
> table lookup.
>
> Fixes: 46475bb20f4b ("net/sched: act_ct: Software offload of established flows")
> Signed-off-by: Paul Blakey <paulb@...dia.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Powered by blists - more mailing lists