diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-10-21 13:34:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-23 23:41:41 +0200 |
commit | 235bde1ed3f0fff0f68f367ec8807b89ea151258 (patch) | |
tree | b6a4b5958de3cd03351164b333a3fe2dcabeef98 /net/sctp | |
parent | ipv6: do not increment mac header when it's unset (diff) | |
download | linux-235bde1ed3f0fff0f68f367ec8807b89ea151258.tar.xz linux-235bde1ed3f0fff0f68f367ec8807b89ea151258.zip |
net: fec: Call swap_buffer() prior to IP header alignment
Commit 3ac72b7b63d5 ("net: fec: align IP header in hardware") breaks
networking on mx28.
There is an erratum on mx28 (ENGR121613 - ENET big endian mode
not compatible with ARM little endian) that requires an additional
byte-swap operation to workaround this problem.
So call swap_buffer() prior to performing the IP header alignment
to restore network functionality on mx28.
Fixes: 3ac72b7b63d5 ("net: fec: align IP header in hardware")
Reported-and-tested-by: Henri Roosen <henri.roosen@ginzinger.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions