Re: Misalignment, MIPS, and ip_hdr(skb)->version
From: David Miller <davem@davemloft.net>
Date: 2016-12-07 18:51:33
Also in:
linux-mips, lkml
From: David Miller <davem@davemloft.net>
Date: 2016-12-07 18:51:33
Also in:
linux-mips, lkml
From: Dave Taht <redacted> Date: Wed, 7 Dec 2016 10:47:16 -0800
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
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. Marking structures "packed" is going to kill performance and is not the answer.