[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120417.223259.2096595530447053760.davem@davemloft.net>
Date: Tue, 17 Apr 2012 22:32:59 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: christian.riesch@...cron.at
Cc: netdev@...r.kernel.org,
davinci-linux-open-source@...ux.davincidsp.com,
ravonereal@...il.com, manfred.rudigier@...cron.at,
stable@...r.kernel.org, cyril@...com
Subject: Re: [PATCH] davinci_mdio: Fix MDIO timeout check
From: Christian Riesch <christian.riesch@...cron.at>
Date: Mon, 16 Apr 2012 16:35:25 +0200
> 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@...cron.at>
> Cc: <stable@...r.kernel.org>
> Cc: Cyril Chemparathy <cyril@...com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists