projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP
[platform/kernel/u-boot.git]
/
net
/
nfs.c
diff --git
a/net/nfs.c
b/net/nfs.c
index
83ed0a7
..
9a16765
100644
(file)
--- a/
net/nfs.c
+++ b/
net/nfs.c
@@
-822,6
+822,8
@@
static void nfs_handler(uchar *pkt, unsigned dest, struct in_addr sip,
case STATE_READ_REQ:
rlen = nfs_read_reply(pkt, len);
+ if (rlen == -NFS_RPC_DROP)
+ break;
net_set_timeout_handler(nfs_timeout, nfs_timeout_handler);
if (rlen > 0) {
nfs_offset += rlen;