[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5JNFcUp2JrmgVfR@salvia>
Date:   Thu, 8 Dec 2022 21:46:13 +0100
From:   Pablo Neira Ayuso <pablo@...filter.org>
To:     Qingfang DENG <dqfext@...il.com>
Cc:     Jozsef Kadlecsik <kadlec@...filter.org>,
        Florian Westphal <fw@...len.de>,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        netfilter-devel@...r.kernel.org, coreteam@...filter.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] netfilter: flowtable: really fix NAT IPv6 offload
On Thu, Dec 08, 2022 at 08:35:29PM +0800, Qingfang DENG wrote:
> The for-loop was broken from the start. It translates to:
> 
> 	for (i = 0; i < 4; i += 4)
> 
> which means the loop statement is run only once, so only the highest
> 32-bit of the IPv6 address gets mangled.
> 
> Fix the loop increment.
Applied, thanks
Powered by blists - more mailing lists
 
