diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2012-12-11 19:14:16 +0100 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-06-24 19:10:15 -0500 |
commit | fa84fa708c8ac826ea0e0c4af1b5fdfcd146a46d (patch) | |
tree | cd6a8f10f80a328ce75664e03c5e47eaf77a85f5 /net/tftp.h | |
parent | fb4879b3c7df4b58a8ade65451275a2fe5207557 (diff) | |
download | u-boot-imx-fa84fa708c8ac826ea0e0c4af1b5fdfcd146a46d.zip u-boot-imx-fa84fa708c8ac826ea0e0c4af1b5fdfcd146a46d.tar.gz u-boot-imx-fa84fa708c8ac826ea0e0c4af1b5fdfcd146a46d.tar.bz2 |
net: nfs: add dynamic wait period
This patch tackles the time out problem which leads to break the
boot process, when loading file over nfs. The patch does two things.
First of all, we just ignore messages that arrive with a rpc_id smaller
then the client id. We just interpret this messages as answers to
formaly timed out messages.
Second, when a time out occurs we double the time to wait, so that we
do not stress the server resending the last message.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Diffstat (limited to 'net/tftp.h')
0 files changed, 0 insertions, 0 deletions