[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200304131710.GF2546@localhost.localdomain>
Date: Wed, 4 Mar 2020 10:17:10 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Paul Blakey <paulb@...lanox.com>
Cc: Saeed Mahameed <saeedm@...lanox.com>,
Oz Shlomo <ozsh@...lanox.com>,
Vlad Buslov <vladbu@...lanox.com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...lanox.com>, Roi Dayan <roid@...lanox.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH net-next 1/2] net/sched: act_ct: Fix ipv6 lookup of
offloaded connections
On Wed, Mar 04, 2020 at 01:49:38PM +0200, Paul Blakey wrote:
> When checking the protocol number tcf_ct_flow_table_lookup() handles
> the flow as if it's always ipv4, while it can be ipv6.
>
> Instead, refactor the code to fetch the tcp header, if available,
> in the relevant family (ipv4/ipv6) filler function, and do the
> check on the returned tcp header.
>
> Fixes: 46475bb20f4b ("net/sched: act_ct: Software offload of established flows")
> Signed-off-by: Paul Blakey <paulb@...lanox.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Powered by blists - more mailing lists