From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH] netfilter: xt_HMARK: endian bugs Date: Mon, 14 May 2012 21:13:55 +0200 Message-ID: <1337022835.8512.610.camel@edumazet-glaptop> References: <1337002943-16374-1-git-send-email-hans.schillstrom@ericsson.com> <201205141809.18174.hans.schillstrom@ericsson.com> <1337012674.8512.589.camel@edumazet-glaptop> <201205141951.36692.hans.schillstrom@ericsson.com> <20120514190211.GC14897@1984> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Jozsef Kadlecsik , Hans Schillstrom , Jan Engelhardt , "kaber@trash.net" , "jengelh@medozas.de" , "netfilter-devel@vger.kernel.org" , "netdev@vger.kernel.org" , "dan.carpenter@oracle.com" , "hans@schillstrom.com" To: Pablo Neira Ayuso Return-path: In-Reply-To: <20120514190211.GC14897@1984> Sender: netfilter-devel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2012-05-14 at 21:02 +0200, Pablo Neira Ayuso wrote: > IIRC, Hans wants that, in case you have a cluster composed of system > with different endianess, the hash mark calculated will be the same > in both systems. To ensure that the distribution is consistent with > independency of the endianess. Then jhash() must be audited to make sure its output is OK with this requirement.