net: cpsw: prevent stray cache writeback
The cache should be invalidated when transfering ownership of a buffer
to the device. Otherwise the writeback of dirty cache lines can
corrupt the hardware written data.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 603ba8c commit 0b6ddeecb52feb3da17585c5d076da0f67dde2a0
@Lucas Stach Lucas Stach authored on 2 Mar 2015
Sascha Hauer committed on 3 Mar 2015
Showing 1 changed file
View
drivers/net/cpsw.c