summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index d4a957e..4b9aa16 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.c
@@ -305,7 +305,7 @@ nfsm_adv_xx(int s, struct mbuf **md, caddr_t *dpos)
int t1;
t1 = mtod(*md, caddr_t) + (*md)->m_len - *dpos;
- if (t1 > s) {
+ if (t1 >= s) {
*dpos += s;
return 0;
}
OpenPOWER on IntegriCloud