[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49802060.5040709@alcatel-lucent.fr>
Date: Wed, 28 Jan 2009 10:07:44 +0100
From: Benjamin ZORES <benjamin.zores@...atel-lucent.fr>
To: netdev@...r.kernel.org
Subject: [PATCH] Fix infinite retry loop in IP-Config
Hi,
The attached patch fixes some bug with ip-config max retry number.
In ip_auto_config(), kernel tries to retrieve IP configuration forever
in case of NFS root and some specific amount of time otherwise.
The problem is that, in case of error, the code jump to the try_try_again
goto statement, that reassigns the retry number counter, which obviously
leads to an infinite loop if IP config fails.
The attached patch corrects this behavior.
Hope one can push it to mainstream kernel tree.
Ben
View attachment "netdev-ipconfig-retry-fix.diff" of type "text/x-diff" (595 bytes)
Powered by blists - more mailing lists