sh_eth: fix TX buffer byte-swapping
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 13 Dec 2015 18:27:04 +0000 (21:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 05:25:00 +0000 (00:25 -0500)
commit3e2309937f1e5d538ff13da5fb8de41196927c61
tree7518ffb1d4818901ea9e62a65d61cf8271a638e0
parent5037e9ef9454917b047f9f3a19b4dd179fbf7cd4
sh_eth: fix TX buffer byte-swapping

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>
drivers/net/ethernet/renesas/sh_eth.c