diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-26 23:53:28 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-26 23:53:28 +0000 |
commit | bd32b70236011007576b1ce556b04eb22c759794 (patch) | |
tree | 84153072b8ca0154a553c0c5d40f7369a502fcd8 | |
parent | cebb0d29f78205108c2dcae8b9c4f032793bfeb9 (diff) | |
download | src-bd32b70236011007576b1ce556b04eb22c759794.tar.gz src-bd32b70236011007576b1ce556b04eb22c759794.zip |
Fix a fatal typo introduced in revision 1.13 that caused the mbuf chains to
be created incorrectly for requests larger than NB_SORECEIVE_CHUNK bytes.
Approved by: re
Notes
Notes:
svn path=/head/; revision=107293
-rw-r--r-- | sys/netsmb/smb_trantcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_trantcp.c b/sys/netsmb/smb_trantcp.c index 497d95c6386e..37085b5cadba 100644 --- a/sys/netsmb/smb_trantcp.c +++ b/sys/netsmb/smb_trantcp.c @@ -455,7 +455,7 @@ nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, rcvflg = MSG_WAITALL; error = so->so_proto->pr_usrreqs->pru_soreceive (so, (struct sockaddr **)NULL, - &auio, &m, (struct mbuf **)NULL, &rcvflg); + &auio, &tm, (struct mbuf **)NULL, &rcvflg); } while (error == EWOULDBLOCK || error == EINTR || error == ERESTART); if (error) |