commit | 3e2309937f1e5d538ff13da5fb8de41196927c61 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Dec 13 21:27:04 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 15 00:25:00 2015 -0500 |
tree | 7518ffb1d4818901ea9e62a65d61cf8271a638e0 | |
parent | 5037e9ef9454917b047f9f3a19b4dd179fbf7cd4 [diff] |
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>