From: Sergei Shtylyov Date: Sun, 13 Dec 2015 18:27:04 +0000 (+0300) Subject: sh_eth: fix TX buffer byte-swapping X-Git-Tag: v3.2.76~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c9785c48cd750d45823a21eb0d0270739d6c31;p=pandora-kernel.git sh_eth: fix TX buffer byte-swapping commit 3e2309937f1e5d538ff13da5fb8de41196927c61 upstream. For the little-endian SH771x kernels the driver has to byte-swap the RX/TX buffers, however yet unset physcial address from the TX descriptor is used to call sh_eth_soft_swap(). Use 'skb->data' instead... Fixes: 31fcb99d9958 ("net: sh_eth: remove __flush_purge_region") Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed