From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] tcp: fix Fast Open key endianness Date: Sat, 30 Jun 2018 18:42:38 +0900 (KST) Message-ID: <20180630.184238.1975481438159182115.davem@davemloft.net> References: <20180627230448.236488-1-ycheng@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, edumazet@google.com, ncardwell@google.com To: ycheng@google.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:35974 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934002AbeF3Jml (ORCPT ); Sat, 30 Jun 2018 05:42:41 -0400 In-Reply-To: <20180627230448.236488-1-ycheng@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Yuchung Cheng Date: Wed, 27 Jun 2018 16:04:48 -0700 > Fast Open key could be stored in different endian based on the CPU. > Previously hosts in different endianness in a server farm using > the same key config (sysctl value) would produce different cookies. > This patch fixes it by always storing it as little endian to keep > same API for LE hosts. > > Reported-by: Daniele Iamartino > Signed-off-by: Yuchung Cheng > Signed-off-by: Eric Dumazet > Signed-off-by: Neal Cardwell Applied and queued up for -stable.