summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-12-13 21:27:04 +0300
committerLuis Henriques <luis.henriques@canonical.com>2016-01-25 10:43:49 +0000
commite4db761922de0f7599f63cb65cb3195ae38d4407 (patch)
treed0ac55eefda34b3884d01356d8d8d291ece50c3f /include/linux
parent737526dab8cbf2b5f5d053f0c30d5a2d98bf3f6b (diff)
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 <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions