diff options
| author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-01-09 19:17:30 +0000 |
|---|---|---|
| committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-01-09 19:17:30 +0000 |
| commit | fb59c426ff89244d934aaed59855310b98f7a071 (patch) | |
| tree | 391d9134942b8685e63c9c0bcb1cfa62fa105d66 /sys/nfsclient/nfs_socket.c | |
| parent | 549f978ab6fab1b324e5d316ddba86923b1be11d (diff) | |
Notes
Diffstat (limited to 'sys/nfsclient/nfs_socket.c')
| -rw-r--r-- | sys/nfsclient/nfs_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c index 41fd30347128..b2d6bf53dbe3 100644 --- a/sys/nfsclient/nfs_socket.c +++ b/sys/nfsclient/nfs_socket.c @@ -1231,7 +1231,7 @@ nfs_rephead(siz, nd, slp, err, cache, frev, mrq, mbp, bposp) * try and leave leading space for the lower level headers. */ siz += RPC_REPLYSIZ; - if (siz >= MINCLSIZE) { + if ((max_hdr + siz) >= MINCLSIZE) { MCLGET(mreq, M_WAIT); } else mreq->m_data += max_hdr; |
