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
This commit is contained in:
parent
cebb0d29f7
commit
bd32b70236
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107293
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user