Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbcLGTxB (ORCPT ); Wed, 7 Dec 2016 14:53:01 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:38524 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbcLGTw7 (ORCPT ); Wed, 7 Dec 2016 14:52:59 -0500 Date: Wed, 07 Dec 2016 14:52:40 -0500 (EST) Message-Id: <20161207.145240.1636297838792223189.davem@davemloft.net> To: Jason@zx2c4.com Cc: dave.taht@gmail.com, netdev@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, wireguard@lists.zx2c4.com Subject: Re: Misalignment, MIPS, and ip_hdr(skb)->version From: David Miller In-Reply-To: References: <20161207.135127.789629809982860453.davem@davemloft.net> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 07 Dec 2016 10:53:22 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 21 From: "Jason A. Donenfeld" Date: Wed, 7 Dec 2016 19:54:12 +0100 > On Wed, Dec 7, 2016 at 7:51 PM, David Miller wrote: >> It's so much better to analyze properly where the misalignment comes from >> and address it at the source, as we have for various cases that trip up >> Sparc too. > > That's sort of my attitude too, hence starting this thread. Any > pointers you have about this would be most welcome, so as not to > perpetuate what already seems like an issue in other parts of the > stack. The only truly difficult case to handle is GRE encapsulation. Is that the situation you are running into? If not, please figure out what the header configuration looks like in the case that hits for you, and what the originating device is just in case it is a device driver issue. Thanks.