]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
FEC: Do not pass unaligned buffer to network stack
authorMarek Vasut <marex@denx.de>
Sun, 26 Aug 2012 10:19:20 +0000 (10:19 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 27 Sep 2012 17:22:09 +0000 (12:22 -0500)
commite2a66e609745470b1157fe6b6663c804ee44b0b9
tree8a7d4cc92516382cbe1af6efc4821fb3c3d6c61a
parentf91ba0ecbc8232691856d2d7524fd53067ca91c9
FEC: Do not pass unaligned buffer to network stack

Do not pass unaligned RX buffer to the upper layers. The upper layer,
especially in the ARP case, recycles the buffer and passes it back into
the FEC, into it's TX path. With caches enabled, the FEC hangs on this
from time to time.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Benoit Thebaudeau <benoit.thebaudeau@advans>
Cc: Eric Nelson <eric.nelson@boundarydevices.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/net/fec_mxc.c