linux/drivers/net/ethernet/ti
Christian Riesch 5b76d0600b davinci_mdio: Fix MDIO timeout check
Under heavy load (flood ping) it is possible for the MDIO timeout to
expire before the loop checks the GO bit again. This patch adds an
additional check whether the operation was done before actually
returning -ETIMEDOUT.

To reproduce this bug, flood ping the device, e.g., ping -f -l 1000
After some time, a "timed out waiting for user access" warning
may appear. And even worse, link may go down since the PHY reported a
timeout.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: <stable@vger.kernel.org>
Cc: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-17 22:31:59 -04:00
..
Kconfig netdev: driver: ethernet: Add TI CPSW driver 2012-03-19 18:02:05 -04:00
Makefile netdev: driver: ethernet: Add TI CPSW driver 2012-03-19 18:02:05 -04:00
cpmac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-19 16:03:15 -05:00
cpsw.c cpsw: Hook up default ndo_change_mtu. 2012-03-20 00:33:59 -04:00
cpsw_ale.c netdev: driver: ethernet: add cpsw address lookup engine support 2012-03-19 18:02:05 -04:00
cpsw_ale.h netdev: driver: ethernet: add cpsw address lookup engine support 2012-03-19 18:02:05 -04:00
davinci_cpdma.c davinci_cpdma: Fix channel number written to teardown registers 2012-02-24 03:23:37 -05:00
davinci_cpdma.h
davinci_emac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-26 21:55:51 -05:00
davinci_mdio.c davinci_mdio: Fix MDIO timeout check 2012-04-17 22:31:59 -04:00
tlan.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
tlan.h