Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932620AbcLGSrT (ORCPT ); Wed, 7 Dec 2016 13:47:19 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:36537 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbcLGSrS (ORCPT ); Wed, 7 Dec 2016 13:47:18 -0500 MIME-Version: 1.0 In-Reply-To: References: From: Dave Taht Date: Wed, 7 Dec 2016 10:47:16 -0800 Message-ID: Subject: Re: Misalignment, MIPS, and ip_hdr(skb)->version To: "Jason A. Donenfeld" Cc: Netdev , linux-mips@linux-mips.org, LKML , WireGuard mailing list Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 617 Lines: 9 The openwrt tree has long contained a set of patches that correct for unaligned issues throughout the linux network stack. https://git.lede-project.org/?p=openwrt/source.git;a=blob;f=target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch;h=b4b749e4b9c02a74a9f712a2740d63e554de5c64;hb=ee53a240ac902dc83209008a2671e7fdcf55957a unaligned access traps in the packet processing path on certain versions of the mips architecture is horrifically bad. I had kind of hoped these patches in some form would have made it upstream by now. (or the arches that have the issue retired, I think it's mostly just mips24k)