[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200810110234.GA8449@salvia>
Date: Mon, 10 Aug 2020 13:02:34 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Stephen Suryaputra <ssuryaextr@...il.com>
Cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH nf,v2] netfilter: nf_tables: nft_exthdr: the presence
return value should be little-endian
On Tue, Aug 04, 2020 at 05:44:09PM -0400, Stephen Suryaputra wrote:
> On big-endian machine, the returned register data when the exthdr is
> present is not being compared correctly because little-endian is
> assumed. The function nft_cmp_fast_mask(), called by nft_cmp_fast_eval()
> and nft_cmp_fast_init(), calls cpu_to_le32().
Applied, thanks.
Powered by blists - more mailing lists